Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002347/0.002347, allocations: 201.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 47.91 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2759, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01131/0.2872, allocations: 8.366 MB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007118/0.2944, allocations: 2.882 MB / 442.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.2958, allocations: 59.62 kB / 442.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.2976, allocations: 0.6249 MB / 443 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.3002, allocations: 0.8118 MB / 443.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008392/0.301, allocations: 371.5 kB / 444.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003474/0.3045, allocations: 2.669 MB / 446.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.3063, allocations: 1.167 MB / 448 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.3082, allocations: 1.223 MB / 449.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002567/0.3107, allocations: 1.541 MB / 450.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004997/0.3112, allocations: 308 kB / 451.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.3121, allocations: 411.8 kB / 451.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009694/0.313, allocations: 0.9037 MB / 452.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.3145, allocations: 1.14 MB / 453.6 MB, free: 32 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004642/0.3192, allocations: 4.142 MB / 457.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3192, allocations: 0 / 457.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3192, allocations: 0 / 457.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001112/0.3193, allocations: 0 / 457.7 MB, free: 11.87 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005988/0.3253, allocations: 2.861 MB / 460.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.3253, allocations: 12.03 kB / 460.6 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003954/0.3257, allocations: 299.4 kB / 460.9 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.3268, allocations: 339.1 kB / 461.2 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.3298, allocations: 1.48 MB / 462.7 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.3299, allocations: 160.2 kB / 462.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.3303, allocations: 207.9 kB / 463 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004709/0.335, allocations: 2.84 MB / 465.9 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-05/0.335, allocations: 7.891 kB / 465.9 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.3352, allocations: 84 kB / 466 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.3353, allocations: 91.94 kB / 466 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003886/0.3392, allocations: 2.326 MB / 468.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.3522, allocations: 7.55 MB / 475.9 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.3541, allocations: 1.247 MB / 477.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.356, allocations: 1.007 MB / 478.2 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.3562, allocations: 48.91 kB / 478.2 MB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.3563, allocations: 43.56 kB / 478.3 MB, free: 6.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.106e-06/0.3563, allocations: 0 / 478.3 MB, free: 6.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01268/0.369, allocations: 5.931 MB / 484.2 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.369, allocations: 68.39 kB / 484.3 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.3712, allocations: 1.544 MB / 485.8 MB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.201e-05/0.3713, allocations: 45.7 kB / 485.9 MB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007949/0.3721, allocations: 1.017 MB / 486.9 MB, free: 14.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.3725, allocations: 436.3 kB / 487.3 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/0.3729, allocations: 247.5 kB / 487.5 MB, free: 13.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3731, allocations: 365.9 kB / 487.9 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.3742, allocations: 0.7261 MB / 488.6 MB, free: 12.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.3757, allocations: 1.063 MB / 489.7 MB, free: 11.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/0.3784, allocations: 1.875 MB / 491.6 MB, free: 9.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.3784, allocations: 4 kB / 491.6 MB, free: 9.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004178/0.3826, allocations: 2.35 MB / 493.9 MB, free: 6.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.3826, allocations: 12 kB / 493.9 MB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.3827, allocations: 8 kB / 493.9 MB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.3837, allocations: 415.5 kB / 494.3 MB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.3849, allocations: 331.4 kB / 494.7 MB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005423/0.3904, allocations: 4.833 MB / 499.5 MB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.3917, allocations: 99.91 kB / 499.6 MB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.3919, allocations: 48 kB / 499.6 MB, free: 0.8281 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001464/0.3933, allocations: 0.712 MB / 0.4886 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/0.3939, allocations: 171.1 kB / 0.4888 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003951/0.3978, allocations: 2.133 MB / 0.4909 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.3978, allocations: 12 kB / 0.4909 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3978, allocations: 4 kB / 0.4909 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.3978, allocations: 11.97 kB / 0.4909 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/0.4061, allocations: 4.284 MB / 0.4951 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4061, allocations: 7.938 kB / 0.4951 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/0.4071, allocations: 227.9 kB / 0.4953 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/0.4084, allocations: 466.9 kB / 0.4958 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.983e-05/0.4085, allocations: 35.97 kB / 0.4958 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006746/0.4153, allocations: 6.33 MB / 0.502 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4153, allocations: 7.969 kB / 0.502 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005347/0.4206, allocations: 3.185 MB / 0.5051 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.4216, allocations: 330.8 kB / 0.5054 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.4219, allocations: 28 kB / 0.5054 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008274/0.4227, allocations: 75.91 kB / 0.5055 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/0.423, allocations: 112.7 kB / 0.5056 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.45e-05/0.4231, allocations: 35.98 kB / 0.5056 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00157/0.4246, allocations: 1.052 MB / 0.5067 GB, free: 13.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4246, allocations: 0 / 0.5067 GB, free: 13.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001407/0.426, allocations: 467.9 kB / 0.5071 GB, free: 12.63 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005483/0.4315, allocations: 3.819 MB / 0.5108 GB, free: 8.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003623/0.4351, allocations: 2.042 MB / 0.5128 GB, free: 6.676 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.4351, allocations: 0 / 0.5128 GB, free: 6.676 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.4374, allocations: 1.365 MB / 0.5142 GB, free: 5.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.4395, allocations: 455 kB / 0.5146 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02719/0.4667, allocations: 17.5 MB / 0.5317 GB, free: 2.773 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.4681, allocations: 1.257 MB / 0.5329 GB, free: 1.469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.4692, allocations: 401.6 kB / 0.5333 GB, free: 1.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.4704, allocations: 0.8 MB / 0.5341 GB, free: 276 kB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4704, allocations: 0 / 0.5341 GB, free: 276 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3315/0.8019, allocations: 47.14 MB / 0.5801 GB, free: 67.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.39, allocations: 11.19 kB / 0.5801 GB, free: 67.21 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 18.035059313988313]