Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.95 kB / 306.9 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.09977, allocations: 50.53 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01433/0.1141, allocations: 11.85 MB / 369.3 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1896/0.3038, allocations: 3.821 MB / 373.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.3056, allocations: 77.97 kB / 373.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.3078, allocations: 0.8695 MB / 374.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.3111, allocations: 1.089 MB / 375.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.3122, allocations: 0.4913 MB / 375.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004997/0.3172, allocations: 4.223 MB / 379.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004007/0.3212, allocations: 3.297 MB / 383.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.3251, allocations: 1.909 MB / 385.1 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006352/0.3315, allocations: 2.335 MB / 387.4 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002066/0.3335, allocations: 0.4946 MB / 387.9 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.3367, allocations: 0.5954 MB / 388.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002342/0.3391, allocations: 1.399 MB / 389.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00505/0.3442, allocations: 2.211 MB / 392.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006433/0.3506, allocations: 6.504 MB / 398.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3506, allocations: 6.969 kB / 398.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3507, allocations: 0 / 398.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002083/0.3509, allocations: 0 / 398.7 MB, free: 14.93 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01079/0.3617, allocations: 4.321 MB / 403 MB, free: 11.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3617, allocations: 8.031 kB / 403 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.3633, allocations: 468 kB / 403.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004206/0.3675, allocations: 2.34 MB / 405.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.3677, allocations: 233.3 kB / 406 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004921/0.3682, allocations: 311.8 kB / 406.3 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007586/0.3758, allocations: 4.378 MB / 410.7 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.285e-05/0.3759, allocations: 4 kB / 410.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/0.3762, allocations: 124 kB / 410.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.3764, allocations: 130 kB / 410.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006113/0.3825, allocations: 3.781 MB / 414.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02151/0.404, allocations: 13.52 MB / 428.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/0.4074, allocations: 2.902 MB / 431.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00267/0.4101, allocations: 1.685 MB / 432.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.4104, allocations: 126.3 kB / 433 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.4105, allocations: 51.88 kB / 433 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=164): time 3.807e-06/0.4105, allocations: 4 kB / 433 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=180): time 0.01852/0.429, allocations: 9.001 MB / 442 MB, free: 3.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.4291, allocations: 69.41 kB / 442.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/0.4329, allocations: 2.366 MB / 444.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002267/0.4331, allocations: 57.7 kB / 444.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.4343, allocations: 1.479 MB / 446 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005456/0.4348, allocations: 0.602 MB / 446.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006099/0.4354, allocations: 367.3 kB / 446.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4356, allocations: 305.9 kB / 447.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/0.4372, allocations: 1.124 MB / 448.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/0.4392, allocations: 1.573 MB / 449.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003744/0.443, allocations: 2.791 MB / 452.7 MB, free: 8.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.443, allocations: 4 kB / 452.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005934/0.449, allocations: 3.584 MB / 456.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.449, allocations: 11.28 kB / 456.3 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.449, allocations: 16.5 kB / 456.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.4509, allocations: 0.8026 MB / 457.1 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.4527, allocations: 459.3 kB / 457.6 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.4632, allocations: 11.19 MB / 468.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.4655, allocations: 119.8 kB / 468.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.4657, allocations: 75.98 kB / 469 MB, free: 7.855 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001987/0.4677, allocations: 1.1 MB / 470.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005285/0.4682, allocations: 245 kB / 470.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/0.4737, allocations: 3.305 MB / 473.6 MB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.4737, allocations: 20 kB / 473.6 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.4737, allocations: 4 kB / 473.6 MB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.4737, allocations: 7.969 kB / 473.6 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.4851, allocations: 6.898 MB / 480.5 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.4852, allocations: 4 kB / 480.6 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.4864, allocations: 299.5 kB / 480.8 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002417/0.4889, allocations: 0.9186 MB / 481.8 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/0.4891, allocations: 43.92 kB / 481.8 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/0.5027, allocations: 14.62 MB / 496.4 MB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5028, allocations: 4 kB / 496.4 MB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00905/0.5118, allocations: 4.863 MB / 0.4895 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/0.5137, allocations: 0.5643 MB / 0.4901 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004079/0.5142, allocations: 35.98 kB / 0.4901 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.5155, allocations: 115.9 kB / 0.4902 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004178/0.5159, allocations: 165.6 kB / 0.4904 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.5161, allocations: 47.98 kB / 0.4904 GB, free: 5.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002479/0.5185, allocations: 1.641 MB / 0.492 GB, free: 3.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5185, allocations: 0 / 0.492 GB, free: 3.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002424/0.521, allocations: 0.707 MB / 0.4927 GB, free: 3.031 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0004672/0.5215, allocations: 209.9 kB / 0.4929 GB, free: 2.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008271/0.5297, allocations: 4.854 MB / 0.4977 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/0.5298, allocations: 7.938 kB / 0.4977 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003616/0.5334, allocations: 2.509 MB / 0.5001 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/0.537, allocations: 0.7148 MB / 0.5008 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.5486, allocations: 6.839 MB / 0.5075 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00245/0.5511, allocations: 2.525 MB / 0.51 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002257/0.5534, allocations: 0.5906 MB / 0.5106 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.5539, allocations: 159.4 kB / 0.5107 GB, free: 348 kB / 430.1 MB Notification: Performance of SimCode: time 1.312e-06/0.5539, allocations: 0 / 0.5107 GB, free: 348 kB / 430.1 MB Notification: Performance of Templates: time 0.282/0.8359, allocations: 42.35 MB / 0.5521 GB, free: 135.4 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches