Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001806/0.001806, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002211/0.002211, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 272.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.872e-05, allocations: 5.266 kB / 272.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1421/0.1421, allocations: 21.37 MB / 293.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.1567, allocations: 7.207 MB / 300.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004886/0.1616, allocations: 223.5 kB / 301 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01838/0.1799, allocations: 8.667 MB / 309.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009933/0.1899, allocations: 3.017 MB / 312.7 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005287/0.1952, allocations: 1.721 MB / 314.5 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01365/0.2088, allocations: 11.28 MB / 325.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02981/0.2386, allocations: 14.2 MB / 339.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01713/0.2558, allocations: 8.608 MB / 348.5 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0112/0.267, allocations: 5.458 MB / 354 MB, free: 340 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005211/0.2722, allocations: 1.672 MB / 355.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007137/0.2793, allocations: 2.061 MB / 357.7 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005951/0.2853, allocations: 3.215 MB / 361 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01022/0.2955, allocations: 4.078 MB / 365 MB, free: 5.289 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03381/0.3293, allocations: 22.72 MB / 387.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.3293, allocations: 4 kB / 387.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3293, allocations: 0 / 387.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005712/0.3299, allocations: 0 / 387.8 MB, free: 14.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04361/0.3735, allocations: 12.79 MB / 400.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.3735, allocations: 11.98 kB / 400.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04036/0.4139, allocations: 7.756 MB / 408.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01693/0.4308, allocations: 7.312 MB / 415.6 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009194/0.4317, allocations: 0.7063 MB / 416.3 MB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00389/0.4356, allocations: 0.9179 MB / 417.2 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04298/0.4786, allocations: 15.92 MB / 433.2 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003133/0.4789, allocations: 15.91 kB / 433.2 MB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002844/0.4818, allocations: 392 kB / 433.6 MB, free: 420 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2522/0.734, allocations: 0.5508 MB / 434.1 MB, free: 108.9 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03237/0.7663, allocations: 14.74 MB / 448.9 MB, free: 104.3 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07281/0.8391, allocations: 45.31 MB / 494.2 MB, free: 64.42 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01556/0.8547, allocations: 9.233 MB / 0.4916 GB, free: 56.27 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004066/0.8588, allocations: 2.921 MB / 0.4945 GB, free: 53.36 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.8591, allocations: 131 kB / 0.4946 GB, free: 53.23 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.8592, allocations: 73.69 kB / 0.4947 GB, free: 53.14 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 6.382e-06/0.8592, allocations: 4 kB / 0.4947 GB, free: 53.14 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.03328/0.8925, allocations: 17.23 MB / 0.5115 GB, free: 36.26 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.8925, allocations: 98.58 kB / 0.5116 GB, free: 36.15 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004465/0.897, allocations: 3.587 MB / 0.5151 GB, free: 32.65 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008203/0.8978, allocations: 97.69 kB / 0.5152 GB, free: 32.55 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001833/0.8996, allocations: 4.123 MB / 0.5192 GB, free: 28.57 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001494/0.9011, allocations: 1.431 MB / 0.5206 GB, free: 27.16 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/0.9026, allocations: 1.136 MB / 0.5217 GB, free: 26.01 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.9027, allocations: 305.1 kB / 0.522 GB, free: 25.71 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003465/0.9061, allocations: 2.799 MB / 0.5247 GB, free: 22.9 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004298/0.9104, allocations: 4.974 MB / 0.5296 GB, free: 16.93 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00889/0.9193, allocations: 8.318 MB / 0.5377 GB, free: 7.609 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-05/0.9194, allocations: 20 kB / 0.5377 GB, free: 7.59 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01563/0.935, allocations: 9.336 MB / 0.5469 GB, free: 14.23 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.9352, allocations: 36 kB / 0.5469 GB, free: 14.2 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/0.9353, allocations: 75.94 kB / 0.547 GB, free: 14.12 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005012/0.9403, allocations: 1.388 MB / 0.5483 GB, free: 12.73 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005931/0.9463, allocations: 1.322 MB / 0.5496 GB, free: 11.41 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01889/0.9651, allocations: 9.515 MB / 0.5589 GB, free: 1.785 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/0.9699, allocations: 335.5 kB / 0.5592 GB, free: 1.457 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/0.9712, allocations: 292 kB / 0.5595 GB, free: 1.172 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00846/0.9797, allocations: 3.706 MB / 0.5631 GB, free: 13.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002211/0.9819, allocations: 0.517 MB / 0.5636 GB, free: 12.93 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/0.9976, allocations: 6.613 MB / 0.5701 GB, free: 6.285 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01197/1.01, allocations: 5.548 MB / 0.5755 GB, free: 0.7148 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.718e-05/1.01, allocations: 12 kB / 0.5755 GB, free: 0.7031 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.508e-05/1.01, allocations: 19.92 kB / 0.5755 GB, free: 0.6836 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1817/1.191, allocations: 13.46 MB / 0.5887 GB, free: 120.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/1.191, allocations: 4.312 kB / 0.5887 GB, free: 120.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002873/1.194, allocations: 0.7296 MB / 0.5894 GB, free: 120.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003635/1.198, allocations: 1.27 MB / 0.5906 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000556/1.198, allocations: 94.12 kB / 0.5907 GB, free: 119.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/1.209, allocations: 8.473 MB / 0.599 GB, free: 115.4 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.209, allocations: 7.875 kB / 0.599 GB, free: 115.4 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/1.224, allocations: 9.922 MB / 0.6087 GB, free: 111.3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002598/1.226, allocations: 0.9018 MB / 0.6096 GB, free: 111.1 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007368/1.227, allocations: 78.69 kB / 0.6096 GB, free: 111 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/1.229, allocations: 199.5 kB / 0.6098 GB, free: 111 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006248/1.23, allocations: 301.8 kB / 0.6101 GB, free: 110.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/1.23, allocations: 124.1 kB / 0.6102 GB, free: 110.9 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00299/1.233, allocations: 2.335 MB / 0.6125 GB, free: 110 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/1.233, allocations: 0 / 0.6125 GB, free: 110 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0054/1.238, allocations: 1.603 MB / 0.6141 GB, free: 109.8 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006403/1.239, allocations: 275.1 kB / 0.6144 GB, free: 109.7 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01011/1.249, allocations: 6.859 MB / 0.621 GB, free: 103.7 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.249, allocations: 4 kB / 0.6211 GB, free: 103.7 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00538/1.255, allocations: 3.161 MB / 0.6241 GB, free: 101 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/1.259, allocations: 0.9113 MB / 0.625 GB, free: 100.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02727/1.286, allocations: 16.82 MB / 0.6415 GB, free: 84.44 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006346/1.293, allocations: 5.737 MB / 0.6471 GB, free: 78.64 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00458/1.297, allocations: 1.891 MB / 0.6489 GB, free: 76.75 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.298, allocations: 356.4 kB / 0.6492 GB, free: 76.4 MB / 410.8 MB Notification: Performance of SimCode: time 1.684e-06/1.298, allocations: 4 kB / 0.6493 GB, free: 76.39 MB / 410.8 MB Notification: Performance of Templates: time 0.08984/1.388, allocations: 60.48 MB / 0.7083 GB, free: 16.57 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.703434368013404]