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.00109/0.00109, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002644, allocations: 7.984 kB / 307.7 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1113, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01136/0.1227, allocations: 11.18 MB / 370.5 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2143/0.3371, allocations: 3.751 MB / 374.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.3395, allocations: 62.44 kB / 374.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.3418, allocations: 0.7585 MB / 375 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.3453, allocations: 1.004 MB / 376 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.3464, allocations: 442.6 kB / 376.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006364/0.3528, allocations: 4.884 MB / 381.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003597/0.3564, allocations: 2.726 MB / 384.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.3595, allocations: 1.436 MB / 385.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003963/0.3634, allocations: 1.992 MB / 387.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00085/0.3643, allocations: 211.9 kB / 387.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.366, allocations: 323 kB / 388 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.3672, allocations: 1.043 MB / 389.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002527/0.3697, allocations: 1.851 MB / 390.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005898/0.3757, allocations: 6.134 MB / 397 MB, free: 492 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.3757, allocations: 0 / 397 MB, free: 492 kB / 302.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3757, allocations: 0 / 397 MB, free: 492 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002517/0.376, allocations: 0 / 397 MB, free: 492 kB / 302.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.009309/0.3853, allocations: 3.668 MB / 400.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3853, allocations: 9.938 kB / 400.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.387, allocations: 480 kB / 401.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004015/0.391, allocations: 2.343 MB / 403.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.3912, allocations: 230.2 kB / 403.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005053/0.3917, allocations: 315.3 kB / 404.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007627/0.3993, allocations: 4.38 MB / 408.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.915e-05/0.3994, allocations: 8 kB / 408.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/0.3997, allocations: 130.6 kB / 408.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.3999, allocations: 130 kB / 408.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006322/0.4062, allocations: 3.798 MB / 412.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02191/0.4281, allocations: 13.6 MB / 426.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.4318, allocations: 2.912 MB / 429 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002817/0.4347, allocations: 1.69 MB / 430.7 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/0.435, allocations: 133.3 kB / 430.8 MB, free: 0 / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.111e-05/0.4351, allocations: 51.88 kB / 430.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=164): time 3.687e-06/0.4351, allocations: 0 / 430.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=180): time 0.02005/0.4551, allocations: 9.09 MB / 440 MB, free: 6.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.4552, allocations: 77.34 kB / 440.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003699/0.4589, allocations: 2.366 MB / 442.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.4591, allocations: 57.7 kB / 442.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.4602, allocations: 1.479 MB / 444 MB, free: 2.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/0.4607, allocations: 0.6023 MB / 444.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.461, allocations: 169.6 kB / 444.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4611, allocations: 309 kB / 445 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.4629, allocations: 1.132 MB / 446.2 MB, free: 436 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.465, allocations: 1.581 MB / 447.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.4687, allocations: 2.804 MB / 450.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.4687, allocations: 4 kB / 450.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006088/0.4748, allocations: 3.608 MB / 454.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.4749, allocations: 16.06 kB / 454.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.4749, allocations: 15.98 kB / 454.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/0.477, allocations: 0.798 MB / 455 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.4787, allocations: 467.3 kB / 455.4 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009987/0.4887, allocations: 10.29 MB / 465.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.4909, allocations: 135.8 kB / 465.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.4911, allocations: 72 kB / 465.9 MB, free: 11.58 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.002133/0.4933, allocations: 1.098 MB / 467 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005831/0.4938, allocations: 249 kB / 467.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00579/0.4996, allocations: 3.328 MB / 470.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.4997, allocations: 19.94 kB / 470.6 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.4997, allocations: 4 kB / 470.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.4997, allocations: 11.97 kB / 470.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.5113, allocations: 6.908 MB / 477.6 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5114, allocations: 0 / 477.6 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.5126, allocations: 299.6 kB / 477.8 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/0.5151, allocations: 0.9315 MB / 478.8 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.5152, allocations: 47.97 kB / 478.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.5279, allocations: 13.47 MB / 492.3 MB, free: 152 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.528, allocations: 7.938 kB / 492.3 MB, free: 144 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007918/0.5359, allocations: 4.88 MB / 497.2 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.5374, allocations: 0.5721 MB / 497.8 MB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/0.5378, allocations: 39.94 kB / 497.8 MB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.5391, allocations: 131.9 kB / 497.9 MB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003954/0.5395, allocations: 157.8 kB / 498.1 MB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.5396, allocations: 43.98 kB / 498.1 MB, free: 10.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002541/0.5422, allocations: 1.641 MB / 499.8 MB, free: 8.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5422, allocations: 0 / 499.8 MB, free: 8.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002195/0.5444, allocations: 0.707 MB / 0.4887 GB, free: 7.871 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.0004455/0.5448, allocations: 207 kB / 0.4889 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005223/0.5501, allocations: 3.604 MB / 0.4925 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5501, allocations: 4.812 kB / 0.4925 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00359/0.5537, allocations: 2.519 MB / 0.4949 GB, free: 1.316 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/0.5575, allocations: 0.6821 MB / 0.4956 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.5691, allocations: 8.327 MB / 0.5037 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/0.5714, allocations: 2.522 MB / 0.5062 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001969/0.5734, allocations: 0.5906 MB / 0.5068 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.5739, allocations: 159.4 kB / 0.5069 GB, free: 4.98 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5739, allocations: 3.938 kB / 0.5069 GB, free: 4.977 MB / 430.1 MB Notification: Performance of Templates: time 0.259/0.8329, allocations: 40.06 MB / 0.546 GB, free: 136 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