Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 75.19 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 153.7 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 173.4 MB / 201.1 MB, free: 12.99 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 46.52 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08521/0.08688, allocations: 52.16 MB / 371.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01031/0.09719, allocations: 7.919 MB / 379.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.1018, allocations: 2.688 MB / 382.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000484/0.1023, allocations: 51.69 kB / 382.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.1036, allocations: 0.59 MB / 382.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.1052, allocations: 0.773 MB / 383.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.1058, allocations: 327.5 kB / 383.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.1083, allocations: 2.365 MB / 386.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.1096, allocations: 0.9775 MB / 387.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.1108, allocations: 1.09 MB / 388.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.1126, allocations: 1.308 MB / 389.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00037/0.113, allocations: 280 kB / 389.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006328/0.1136, allocations: 359.8 kB / 390.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008277/0.1144, allocations: 0.8141 MB / 391.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.1156, allocations: 1.019 MB / 392.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003788/0.1193, allocations: 3.71 MB / 395.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1193, allocations: 3.984 kB / 395.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1194, allocations: 0 / 395.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.1194, allocations: 3.938 kB / 395.8 MB, free: 15.01 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004732/0.1241, allocations: 2.564 MB / 398.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1241, allocations: 12.92 kB / 398.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006433/0.1248, allocations: 271.4 kB / 398.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.1271, allocations: 1.329 MB / 400 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.1273, allocations: 132 kB / 400.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.1275, allocations: 192.1 kB / 400.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/0.1316, allocations: 2.506 MB / 402.8 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.142e-05/0.1316, allocations: 4 kB / 402.8 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.1318, allocations: 75.98 kB / 402.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.1319, allocations: 83.5 kB / 403 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.1354, allocations: 2.016 MB / 405 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.1461, allocations: 6.409 MB / 411.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.1479, allocations: 0.9734 MB / 412.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.1497, allocations: 0.8616 MB / 413.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.1499, allocations: 48.91 kB / 413.3 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.1499, allocations: 43.56 kB / 413.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.605e-06/0.1499, allocations: 3.938 kB / 413.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009575/0.1595, allocations: 4.672 MB / 418 MB, free: 8.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.1595, allocations: 68.34 kB / 418.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.1613, allocations: 1.241 MB / 419.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.703e-05/0.1614, allocations: 41.7 kB / 419.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007432/0.1621, allocations: 0.9296 MB / 420.3 MB, free: 6.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.1625, allocations: 368.9 kB / 420.7 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/0.1628, allocations: 222.9 kB / 420.9 MB, free: 5.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.163, allocations: 345.9 kB / 421.2 MB, free: 5.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.1641, allocations: 0.635 MB / 421.8 MB, free: 4.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.1654, allocations: 0.9181 MB / 422.8 MB, free: 3.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002487/0.1679, allocations: 1.653 MB / 424.4 MB, free: 1.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.1679, allocations: 8 kB / 424.4 MB, free: 1.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004349/0.1722, allocations: 2.36 MB / 426.8 MB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1723, allocations: 15.98 kB / 426.8 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.1723, allocations: 8 kB / 426.8 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.1741, allocations: 0.7121 MB / 427.5 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.175, allocations: 235.7 kB / 427.7 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.1867, allocations: 8.38 MB / 436.1 MB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009854/0.1877, allocations: 79.86 kB / 436.2 MB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.87e-05/0.1878, allocations: 48 kB / 436.2 MB, free: 5.664 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001032/0.1888, allocations: 0.6302 MB / 436.9 MB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.1891, allocations: 135.2 kB / 437 MB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/0.1925, allocations: 1.884 MB / 438.9 MB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.1926, allocations: 12 kB / 438.9 MB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1926, allocations: 0 / 438.9 MB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.1926, allocations: 3.984 kB / 438.9 MB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006458/0.199, allocations: 3.522 MB / 442.4 MB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.199, allocations: 0 / 442.4 MB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008349/0.1999, allocations: 180 kB / 442.6 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/0.2011, allocations: 470.9 kB / 443.1 MB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.2012, allocations: 27.98 kB / 443.1 MB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007039/0.2082, allocations: 6.275 MB / 449.4 MB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2082, allocations: 4.031 kB / 449.4 MB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/0.2128, allocations: 2.772 MB / 452.1 MB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007188/0.2135, allocations: 267 kB / 452.4 MB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.2137, allocations: 23.98 kB / 452.4 MB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007746/0.2145, allocations: 71.92 kB / 452.5 MB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.2147, allocations: 84.72 kB / 452.6 MB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.2148, allocations: 35.98 kB / 452.6 MB, free: 4.816 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001274/0.2161, allocations: 0.8493 MB / 453.5 MB, free: 3.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2161, allocations: 0 / 453.5 MB, free: 3.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001429/0.2175, allocations: 428 kB / 453.9 MB, free: 3.543 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.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 (84): * Single equations (assignments): 80 * 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.0003627/0.2178, allocations: 179 kB / 454.1 MB, free: 3.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003566/0.2214, allocations: 1.934 MB / 456 MB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2214, allocations: 4 kB / 456 MB, free: 1.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002179/0.2236, allocations: 1.233 MB / 457.2 MB, free: 124 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.2252, allocations: 324.3 kB / 457.5 MB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006484/0.2317, allocations: 4.052 MB / 461.6 MB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.233, allocations: 1.114 MB / 462.7 MB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008825/0.2339, allocations: 307 kB / 463 MB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.2342, allocations: 88.48 kB / 463.1 MB, free: 10.15 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2342, allocations: 0 / 463.1 MB, free: 10.15 MB / 430.1 MB Notification: Performance of Templates: time 0.1937/0.4279, allocations: 23.02 MB / 486.1 MB, free: 87.82 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 5.39182602497749]