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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001045/0.001045, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009963/0.0009968, allocations: 87.64 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.712e-05, allocations: 4 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09111, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3137/0.4049, allocations: 111.5 MB / 0.5014 GB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.4051, allocations: 86.08 kB / 0.5015 GB, free: 10.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1652/0.5703, allocations: 65.78 MB / 0.5658 GB, free: 9.609 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5703, allocations: 0 / 0.5658 GB, free: 9.609 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002067/0.5706, allocations: 87.92 kB / 0.5658 GB, free: 9.523 MB / 442.7 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.006285/0.5768, allocations: 3.273 MB / 0.569 GB, free: 6.191 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5769, allocations: 8.031 kB / 0.5691 GB, free: 6.184 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.5784, allocations: 487 kB / 0.5695 GB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004547/0.5829, allocations: 2.375 MB / 0.5718 GB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.5831, allocations: 230.2 kB / 0.5721 GB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/0.5836, allocations: 311.9 kB / 0.5724 GB, free: 2.746 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2146/0.7982, allocations: 4.226 MB / 0.5765 GB, free: 79.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.407e-05/0.7983, allocations: 16.28 kB / 0.5765 GB, free: 79.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002875/0.7986, allocations: 130.8 kB / 0.5766 GB, free: 79.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.7987, allocations: 122.5 kB / 0.5767 GB, free: 79.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005099/0.8038, allocations: 3.47 MB / 0.5801 GB, free: 79.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0173/0.8211, allocations: 13.58 MB / 0.5934 GB, free: 76.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.8238, allocations: 2.882 MB / 0.5962 GB, free: 75.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/0.8258, allocations: 1.588 MB / 0.5978 GB, free: 75.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.8261, allocations: 149.2 kB / 0.5979 GB, free: 75.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.8261, allocations: 53.59 kB / 0.5979 GB, free: 75.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=167): time 3.667e-06/0.8261, allocations: 0 / 0.5979 GB, free: 75.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=183): time 0.0122/0.8383, allocations: 7.297 MB / 0.6051 GB, free: 74.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.8384, allocations: 71.09 kB / 0.6051 GB, free: 74.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.8411, allocations: 2.041 MB / 0.6071 GB, free: 74.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.8412, allocations: 59.11 kB / 0.6072 GB, free: 73.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008638/0.8421, allocations: 1.451 MB / 0.6086 GB, free: 73.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.8425, allocations: 0.6113 MB / 0.6092 GB, free: 73.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.8426, allocations: 42.69 kB / 0.6092 GB, free: 73.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.8427, allocations: 385.5 kB / 0.6096 GB, free: 72.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.8443, allocations: 1.078 MB / 0.6107 GB, free: 72.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.846, allocations: 1.49 MB / 0.6121 GB, free: 72.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.8478, allocations: 1.294 MB / 0.6134 GB, free: 72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.8478, allocations: 3.906 kB / 0.6134 GB, free: 72 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005475/0.8533, allocations: 3.476 MB / 0.6168 GB, free: 70.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.8533, allocations: 11 kB / 0.6168 GB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.8534, allocations: 10.88 kB / 0.6168 GB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/0.8552, allocations: 0.8031 MB / 0.6176 GB, free: 70.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.857, allocations: 470.3 kB / 0.618 GB, free: 70.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008368/0.8654, allocations: 10.26 MB / 0.6281 GB, free: 62.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.8675, allocations: 132.4 kB / 0.6282 GB, free: 62.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.8677, allocations: 73.25 kB / 0.6282 GB, free: 62.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * 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.0003758/0.8681, allocations: 221.5 kB / 0.6285 GB, free: 62.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004046/0.8685, allocations: 246.9 kB / 0.6287 GB, free: 62.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005309/0.8738, allocations: 3.26 MB / 0.6319 GB, free: 60.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.8738, allocations: 22.23 kB / 0.6319 GB, free: 60.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.8738, allocations: 8.188 kB / 0.6319 GB, free: 60.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.8739, allocations: 12.44 kB / 0.6319 GB, free: 60.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0095/0.8834, allocations: 6.82 MB / 0.6386 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.8834, allocations: 0 / 0.6386 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.8847, allocations: 314.9 kB / 0.6389 GB, free: 58.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002066/0.8867, allocations: 0.9153 MB / 0.6398 GB, free: 57.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.8869, allocations: 41.36 kB / 0.6398 GB, free: 57.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.9001, allocations: 13.48 MB / 0.653 GB, free: 47.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.9001, allocations: 0 / 0.653 GB, free: 47.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.9106, allocations: 4.997 MB / 0.6579 GB, free: 44.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/0.9128, allocations: 0.5718 MB / 0.6584 GB, free: 44.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005192/0.9134, allocations: 42.47 kB / 0.6585 GB, free: 44.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/0.9157, allocations: 125.9 kB / 0.6586 GB, free: 44.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005671/0.9163, allocations: 168 kB / 0.6587 GB, free: 44.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/0.9165, allocations: 60.09 kB / 0.6588 GB, free: 44.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00347/0.92, allocations: 1.569 MB / 0.6603 GB, free: 43.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9201, allocations: 0 / 0.6603 GB, free: 43.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003588/0.9237, allocations: 0.7428 MB / 0.6611 GB, free: 43.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * 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.0008038/0.9245, allocations: 370 kB / 0.6614 GB, free: 43.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006949/0.9314, allocations: 3.505 MB / 0.6648 GB, free: 41.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9315, allocations: 3.344 kB / 0.6648 GB, free: 41.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00497/0.9365, allocations: 2.494 MB / 0.6673 GB, free: 40.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004855/0.9413, allocations: 0.6789 MB / 0.6679 GB, free: 40.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.9549, allocations: 5.618 MB / 0.6734 GB, free: 37.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/0.9578, allocations: 2.584 MB / 0.6759 GB, free: 36.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003326/0.9612, allocations: 0.5818 MB / 0.6765 GB, free: 36.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007635/0.962, allocations: 162.8 kB / 0.6767 GB, free: 36.58 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/0.962, allocations: 0 / 0.6767 GB, free: 36.58 MB / 442.7 MB Notification: Performance of Templates: time 0.0889/1.051, allocations: 42.44 MB / 0.7181 GB, free: 12.57 MB / 442.7 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","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches