Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 89.38 kB / 16.65 MB, free: 6.535 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.001005/0.001005, allocations: 174 kB / 17.56 MB, free: 6.184 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.416/1.416, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005021, allocations: 11.92 kB / 301.4 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1446, allocations: 50.41 MB / 351.8 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.009737/0.1544, allocations: 9.108 MB / 360.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00595/0.1604, allocations: 2.968 MB / 363.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.1617, allocations: 47.75 kB / 364 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.1633, allocations: 0.536 MB / 364.5 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.1655, allocations: 0.676 MB / 365.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007846/0.1663, allocations: 327.6 kB / 365.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002917/0.1692, allocations: 2.725 MB / 368.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.171, allocations: 1.418 MB / 369.6 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.1723, allocations: 0.844 MB / 370.5 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1932/0.3655, allocations: 1.118 MB / 371.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007226/0.3663, allocations: 123.7 kB / 371.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3674, allocations: 219.9 kB / 371.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008445/0.3683, allocations: 0.597 MB / 372.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.3699, allocations: 1.093 MB / 373.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005236/0.3751, allocations: 3.406 MB / 377 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3751, allocations: 0 / 377 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3752, allocations: 0.5 kB / 377 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001338/0.3753, allocations: 1.375 kB / 377 MB, free: 10.99 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004844/0.3801, allocations: 2.179 MB / 379.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3802, allocations: 12.34 kB / 379.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/0.381, allocations: 262.3 kB / 379.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.3833, allocations: 1.318 MB / 380.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.3835, allocations: 139.6 kB / 380.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003251/0.3838, allocations: 192.6 kB / 381.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/0.388, allocations: 2.429 MB / 383.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.219e-05/0.3881, allocations: 7.438 kB / 383.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.3883, allocations: 75.31 kB / 383.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.3885, allocations: 92.7 kB / 383.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/0.3919, allocations: 1.972 MB / 385.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.4035, allocations: 7.89 MB / 393.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.4051, allocations: 1.222 MB / 394.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.4068, allocations: 0.9563 MB / 395.8 MB, free: 2.172 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.407, allocations: 123.2 kB / 395.9 MB, free: 2.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.4071, allocations: 44.44 kB / 395.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 3.326e-06/0.4071, allocations: 1.594 kB / 395.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01213/0.4192, allocations: 5.938 MB / 401.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.4193, allocations: 62.41 kB / 401.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.4213, allocations: 1.299 MB / 403.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.4214, allocations: 45.7 kB / 403.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006671/0.4221, allocations: 0.9201 MB / 404.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.4224, allocations: 386.4 kB / 404.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.4226, allocations: 121.6 kB / 404.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4227, allocations: 357.9 kB / 405 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.4238, allocations: 0.6442 MB / 405.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.4251, allocations: 1.006 MB / 406.7 MB, free: 9.953 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/0.4275, allocations: 1.742 MB / 408.4 MB, free: 8.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4275, allocations: 0 / 408.4 MB, free: 8.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004037/0.4315, allocations: 2.246 MB / 410.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.4316, allocations: 15.94 kB / 410.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.4316, allocations: 8 kB / 410.7 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.4329, allocations: 500 kB / 411.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.434, allocations: 311.5 kB / 411.5 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007331/0.4414, allocations: 6.531 MB / 418 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.4431, allocations: 90.58 kB / 418.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/0.4434, allocations: 59.98 kB / 418.2 MB, free: 14.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00175/0.4451, allocations: 0.5982 MB / 418.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/0.4456, allocations: 150.2 kB / 418.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.4495, allocations: 1.971 MB / 420.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.4496, allocations: 12 kB / 420.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.4496, allocations: 4 kB / 420.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.4496, allocations: 7.969 kB / 420.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008059/0.4577, allocations: 4.137 MB / 425 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.4577, allocations: 8.031 kB / 425 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008754/0.4586, allocations: 193.4 kB / 425.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.4602, allocations: 0.5298 MB / 425.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-05/0.4603, allocations: 31.98 kB / 425.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008389/0.4687, allocations: 8.053 MB / 433.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.4687, allocations: 4 kB / 433.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/0.4735, allocations: 2.86 MB / 436.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008573/0.4743, allocations: 363.2 kB / 437.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004127/0.4748, allocations: 28 kB / 437.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.4758, allocations: 67.92 kB / 437.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.476, allocations: 95.53 kB / 437.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.438e-05/0.4761, allocations: 35.97 kB / 437.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001551/0.4777, allocations: 0.8839 MB / 438.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4777, allocations: 0 / 438.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001799/0.4795, allocations: 448 kB / 438.6 MB, free: 9.031 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0003911/0.4799, allocations: 180.4 kB / 438.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003506/0.4834, allocations: 2.235 MB / 441 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4834, allocations: 0 / 441 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002276/0.4857, allocations: 1.509 MB / 442.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.4883, allocations: 393.4 kB / 442.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007911/0.4963, allocations: 5.14 MB / 448.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.4979, allocations: 1.646 MB / 449.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001083/0.499, allocations: 324.8 kB / 450 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.4993, allocations: 95.44 kB / 450.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4993, allocations: 0 / 450.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Templates: time 0.04042/0.5397, allocations: 22.48 MB / 472.6 MB, free: 7.176 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches