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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=30000,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=30000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 97.7 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 181.7 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002947, allocations: 6.719 kB / 300.7 MB, free: 6.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 50.41 MB / 351.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.008193/0.121, allocations: 7.221 MB / 358.4 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005578/0.1266, allocations: 2.76 MB / 361.1 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.1277, allocations: 35.81 kB / 361.1 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.1291, allocations: 0.5131 MB / 361.7 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.1311, allocations: 0.6075 MB / 362.3 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.1317, allocations: 195.7 kB / 362.5 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001918/0.1336, allocations: 1.517 MB / 364 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.135, allocations: 1.239 MB / 365.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008945/0.1359, allocations: 0.7317 MB / 365.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.1371, allocations: 0.9572 MB / 366.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.1373, allocations: 120 kB / 367 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.1378, allocations: 187.8 kB / 367.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005324/0.1383, allocations: 0.5686 MB / 367.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.1387, allocations: 448.6 kB / 368.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.141, allocations: 2.933 MB / 371.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.141, allocations: 0 / 371.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.141, allocations: 0 / 371.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.174e-05/0.141, allocations: 0 / 371.1 MB, free: 7.562 MB / 302.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.003981/0.145, allocations: 2.205 MB / 373.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1451, allocations: 8.031 kB / 373.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006303/0.1457, allocations: 265.2 kB / 373.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.148, allocations: 1.314 MB / 374.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.1481, allocations: 135.6 kB / 375.1 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.1484, allocations: 184 kB / 375.2 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003816/0.1522, allocations: 2.39 MB / 377.6 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/0.1522, allocations: 3.906 kB / 377.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.1524, allocations: 72 kB / 377.7 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.1525, allocations: 87.48 kB / 377.8 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003508/0.1561, allocations: 2.02 MB / 379.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/0.1671, allocations: 7.464 MB / 387.3 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.1689, allocations: 1.283 MB / 388.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.1692, allocations: 118.1 kB / 388.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.1692, allocations: 43.56 kB / 388.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.765e-06/0.1692, allocations: 0 / 388.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.008925/0.1782, allocations: 4.942 MB / 393.7 MB, free: 500 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1782, allocations: 64.41 kB / 393.7 MB, free: 424 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.18, allocations: 1.318 MB / 395 MB, free: 15.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.17e-05/0.1801, allocations: 45.7 kB / 395.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000624/0.1807, allocations: 0.8931 MB / 396 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.181, allocations: 354.8 kB / 396.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.1811, allocations: 24 kB / 396.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1812, allocations: 353.9 kB / 396.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009288/0.1822, allocations: 0.6389 MB / 397.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.1833, allocations: 0.9298 MB / 398.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.1844, allocations: 0.7798 MB / 399 MB, free: 10.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1844, allocations: 0 / 399 MB, free: 10.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004036/0.1884, allocations: 2.426 MB / 401.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.1885, allocations: 10.19 kB / 401.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.1885, allocations: 8 kB / 401.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.1903, allocations: 0.7361 MB / 402.2 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/0.1912, allocations: 231.7 kB / 402.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.2018, allocations: 8.545 MB / 411 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.2032, allocations: 92.06 kB / 411.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/0.2033, allocations: 51.94 kB / 411.1 MB, free: 14.55 MB / 350.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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001251/0.2045, allocations: 0.6301 MB / 411.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.2048, allocations: 138.3 kB / 411.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/0.2079, allocations: 1.921 MB / 413.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.208, allocations: 12 kB / 413.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.208, allocations: 4 kB / 413.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.208, allocations: 3.984 kB / 413.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/0.2147, allocations: 3.988 MB / 417.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.2147, allocations: 0 / 417.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000779/0.2155, allocations: 183.7 kB / 418 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.2167, allocations: 463 kB / 418.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.2168, allocations: 31.98 kB / 418.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006522/0.2233, allocations: 6.269 MB / 424.8 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.2234, allocations: 4.031 kB / 424.8 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2059/0.4293, allocations: 2.904 MB / 427.7 MB, free: 62.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008656/0.4302, allocations: 354.2 kB / 428 MB, free: 62.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.4304, allocations: 28.55 kB / 428 MB, free: 62.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/0.4311, allocations: 72.44 kB / 428.1 MB, free: 62.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.4314, allocations: 87.11 kB / 428.2 MB, free: 62.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.4315, allocations: 31.3 kB / 428.2 MB, free: 62.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001261/0.4327, allocations: 0.9092 MB / 429.1 MB, free: 62.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4327, allocations: 1.312 kB / 429.1 MB, free: 62.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00149/0.4342, allocations: 434.2 kB / 429.6 MB, free: 62.59 MB / 350.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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002873/0.4345, allocations: 143.9 kB / 429.7 MB, free: 62.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003663/0.4382, allocations: 2.044 MB / 431.7 MB, free: 62.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.4382, allocations: 3.969 kB / 431.8 MB, free: 62.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.4403, allocations: 1.354 MB / 433.1 MB, free: 61.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.4421, allocations: 344.9 kB / 433.4 MB, free: 61.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007114/0.4493, allocations: 4.776 MB / 438.2 MB, free: 59.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.4507, allocations: 1.736 MB / 440 MB, free: 58.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001125/0.4518, allocations: 314 kB / 440.3 MB, free: 58.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.452, allocations: 90.06 kB / 440.3 MB, free: 58.83 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4521, allocations: 0 / 440.3 MB, free: 58.83 MB / 350.1 MB Notification: Performance of Templates: time 0.03305/0.4851, allocations: 21.67 MB / 462 MB, free: 42.19 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches