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.00113/0.00113, allocations: 101 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002506, allocations: 4 kB / 307.1 MB, free: 1.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 51.54 MB / 358.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01176/0.1272, allocations: 10.5 MB / 369.1 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2587/0.386, allocations: 3.62 MB / 372.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.3891, allocations: 63.59 kB / 372.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.3919, allocations: 0.6931 MB / 373.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004734/0.3967, allocations: 0.9456 MB / 374.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.3982, allocations: 306.4 kB / 374.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008631/0.4069, allocations: 4.373 MB / 379.1 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005393/0.4123, allocations: 2.282 MB / 381.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00461/0.4169, allocations: 1.414 MB / 382.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007844/0.4248, allocations: 1.91 MB / 384.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002131/0.427, allocations: 211.4 kB / 384.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003922/0.4309, allocations: 287.6 kB / 385.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003254/0.4342, allocations: 1.053 MB / 386.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00345/0.4377, allocations: 0.7535 MB / 387 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008549/0.4462, allocations: 5.288 MB / 392.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.4463, allocations: 1.656 kB / 392.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4463, allocations: 0 / 392.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003413/0.4466, allocations: 0 / 392.3 MB, free: 4.465 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01355/0.4602, allocations: 3.7 MB / 396 MB, free: 2.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4602, allocations: 10.03 kB / 396 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/0.4635, allocations: 481 kB / 396.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007041/0.4706, allocations: 2.276 MB / 398.8 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/0.471, allocations: 226.2 kB / 399 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001857/0.4729, allocations: 311.6 kB / 399.3 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/0.4869, allocations: 4.353 MB / 403.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001557/0.4871, allocations: 8 kB / 403.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001195/0.4883, allocations: 131.7 kB / 403.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.4885, allocations: 133.9 kB / 403.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008749/0.4973, allocations: 3.775 MB / 407.7 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/0.5256, allocations: 13.59 MB / 421.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/0.5294, allocations: 2.904 MB / 424.2 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002854/0.5323, allocations: 1.696 MB / 425.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.5326, allocations: 126.4 kB / 426 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.955e-05/0.5326, allocations: 51.88 kB / 426.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.917e-06/0.5327, allocations: 0 / 426.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.0189/0.5516, allocations: 9.067 MB / 435.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.5517, allocations: 69.41 kB / 435.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/0.556, allocations: 2.354 MB / 437.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002385/0.5562, allocations: 57.7 kB / 437.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.5574, allocations: 1.474 MB / 439.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005733/0.558, allocations: 0.6019 MB / 439.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.5582, allocations: 40 kB / 439.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.5584, allocations: 381.9 kB / 440.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.5601, allocations: 1.132 MB / 441.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.5621, allocations: 1.579 MB / 442.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.5642, allocations: 1.34 MB / 444.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.5642, allocations: 0 / 444.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006303/0.5705, allocations: 3.596 MB / 447.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.5705, allocations: 8 kB / 447.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.5706, allocations: 15.95 kB / 447.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.5726, allocations: 0.8102 MB / 448.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.5743, allocations: 459.3 kB / 449 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.5846, allocations: 10.28 MB / 459.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/0.5874, allocations: 139.9 kB / 459.4 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.5876, allocations: 78.41 kB / 459.5 MB, free: 3.449 MB / 366.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 (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 initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00288/0.5905, allocations: 1.097 MB / 460.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009402/0.5915, allocations: 249 kB / 460.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006304/0.5978, allocations: 3.307 MB / 464.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.5978, allocations: 19.94 kB / 464.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.5978, allocations: 8 kB / 464.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.5978, allocations: 7.969 kB / 464.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.6107, allocations: 6.889 MB / 471.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.6107, allocations: 4 kB / 471.1 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.612, allocations: 303.8 kB / 471.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/0.6143, allocations: 0.9196 MB / 472.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.6144, allocations: 39.98 kB / 472.3 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.6277, allocations: 13.46 MB / 485.8 MB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.6277, allocations: 4.031 kB / 485.8 MB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008118/0.6358, allocations: 4.88 MB / 490.7 MB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/0.6378, allocations: 0.5643 MB / 491.3 MB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/0.6382, allocations: 40 kB / 491.3 MB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.6394, allocations: 139.8 kB / 491.4 MB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004125/0.6398, allocations: 149.8 kB / 491.6 MB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.64, allocations: 47.98 kB / 491.6 MB, free: 2.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002792/0.6427, allocations: 1.618 MB / 493.2 MB, free: 0.5391 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6428, allocations: 0 / 493.2 MB, free: 0.5391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002817/0.6456, allocations: 0.7032 MB / 493.9 MB, free: 15.83 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 (linear and non-linear blocks): 1 * Torn equation systems: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003723/0.646, allocations: 174.9 kB / 494.1 MB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005711/0.6517, allocations: 3.59 MB / 497.7 MB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.6517, allocations: 4 kB / 497.7 MB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003818/0.6556, allocations: 2.516 MB / 0.4885 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/0.6601, allocations: 0.6968 MB / 0.4892 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.6746, allocations: 7.962 MB / 0.497 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/0.6773, allocations: 2.531 MB / 0.4994 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002649/0.6799, allocations: 0.6007 MB / 0.5 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.6805, allocations: 151.4 kB / 0.5002 GB, free: 13.34 MB / 430.1 MB Notification: Performance of SimCode: time 1.723e-06/0.6805, allocations: 3.938 kB / 0.5002 GB, free: 13.34 MB / 430.1 MB Notification: Performance of Templates: time 0.3001/0.9806, allocations: 38.99 MB / 0.5382 GB, free: 132.5 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