Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009754/0.0009755, allocations: 199.2 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007584/0.0007585, allocations: 107.7 kB / 297.4 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002357/0.0002358, allocations: 8 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1889, allocations: 51.28 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.4539, allocations: 111.5 MB / 0.508 GB, free: 98.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4542, allocations: 98.55 kB / 0.5081 GB, free: 98.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1375/0.5916, allocations: 65.65 MB / 0.5722 GB, free: 39.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5917, allocations: 0 / 0.5722 GB, free: 39.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001921/0.5919, allocations: 87.94 kB / 0.5723 GB, free: 39.88 MB / 378.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.005909/0.5978, allocations: 3.64 MB / 0.5759 GB, free: 36.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.5978, allocations: 8.875 kB / 0.5759 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.599, allocations: 488.1 kB / 0.5763 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/0.6024, allocations: 2.468 MB / 0.5787 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.6025, allocations: 230.5 kB / 0.579 GB, free: 32.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.6029, allocations: 312.3 kB / 0.5793 GB, free: 32.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005627/0.6085, allocations: 4.338 MB / 0.5835 GB, free: 28.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.859e-05/0.6086, allocations: 15.78 kB / 0.5835 GB, free: 28.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/0.6089, allocations: 140 kB / 0.5836 GB, free: 27.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.18e-05/0.609, allocations: 138 kB / 0.5838 GB, free: 27.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004944/0.614, allocations: 3.603 MB / 0.5873 GB, free: 24.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01588/0.6298, allocations: 13.59 MB / 0.6006 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.6326, allocations: 2.969 MB / 0.6035 GB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.6347, allocations: 1.639 MB / 0.6051 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.6349, allocations: 143 kB / 0.6052 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.635, allocations: 56.55 kB / 0.6053 GB, free: 5.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 4.078e-06/0.635, allocations: 0 / 0.6053 GB, free: 5.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=183): time 0.01628/0.6513, allocations: 9.35 MB / 0.6144 GB, free: 11.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.6513, allocations: 69.41 kB / 0.6144 GB, free: 11.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/0.6546, allocations: 2.323 MB / 0.6167 GB, free: 9.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.6548, allocations: 57.7 kB / 0.6168 GB, free: 9.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009977/0.6558, allocations: 1.451 MB / 0.6182 GB, free: 7.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005045/0.6563, allocations: 0.6084 MB / 0.6188 GB, free: 7.172 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.6564, allocations: 40 kB / 0.6188 GB, free: 7.133 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.6566, allocations: 381.9 kB / 0.6192 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.6584, allocations: 1.136 MB / 0.6203 GB, free: 5.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.6604, allocations: 1.558 MB / 0.6218 GB, free: 3.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003856/0.6642, allocations: 2.768 MB / 0.6245 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.6643, allocations: 4 kB / 0.6245 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.00594/0.6702, allocations: 3.596 MB / 0.628 GB, free: 13.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.6702, allocations: 8 kB / 0.628 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.6703, allocations: 12 kB / 0.6281 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/0.6722, allocations: 0.7984 MB / 0.6288 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.674, allocations: 463.3 kB / 0.6293 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00979/0.6838, allocations: 10.29 MB / 0.6393 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.6856, allocations: 127.9 kB / 0.6394 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.6858, allocations: 76 kB / 0.6395 GB, free: 0.8906 MB / 410.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 () * Number of clocked 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.001993/0.6878, allocations: 1.094 MB / 0.6406 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/0.6882, allocations: 245 kB / 0.6408 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005703/0.694, allocations: 3.363 MB / 0.6441 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.694, allocations: 16 kB / 0.6441 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.694, allocations: 12 kB / 0.6441 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.694, allocations: 7.969 kB / 0.6441 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.7053, allocations: 6.922 MB / 0.6509 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.7053, allocations: 0 / 0.6509 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.7067, allocations: 319.8 kB / 0.6512 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/0.709, allocations: 0.9196 MB / 0.6521 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/0.7092, allocations: 43.98 kB / 0.6521 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/0.7216, allocations: 13.51 MB / 0.6653 GB, free: 5.316 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7216, allocations: 0 / 0.6653 GB, free: 5.316 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007738/0.7293, allocations: 4.983 MB / 0.6702 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1651/0.8945, allocations: 0.5663 MB / 0.6708 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006011/0.8951, allocations: 41.48 kB / 0.6708 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.8966, allocations: 129.2 kB / 0.6709 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004508/0.897, allocations: 167.1 kB / 0.6711 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.8972, allocations: 50.83 kB / 0.6711 GB, free: 102.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002383/0.8996, allocations: 1.601 MB / 0.6727 GB, free: 102.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8996, allocations: 0.6562 kB / 0.6727 GB, free: 102.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002234/0.9018, allocations: 0.7395 MB / 0.6734 GB, free: 102.6 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 () * Number of clocked 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.000557/0.9024, allocations: 372 kB / 0.6738 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00446/0.9069, allocations: 3.622 MB / 0.6773 GB, free: 101.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.9069, allocations: 0 / 0.6773 GB, free: 101.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003171/0.9101, allocations: 2.559 MB / 0.6798 GB, free: 100.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/0.9138, allocations: 0.6859 MB / 0.6805 GB, free: 100.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009417/0.9232, allocations: 7.994 MB / 0.6883 GB, free: 97.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/0.9251, allocations: 2.481 MB / 0.6907 GB, free: 96.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/0.9259, allocations: 169.2 kB / 0.6909 GB, free: 96.99 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.9259, allocations: 0 / 0.6909 GB, free: 96.99 MB / 442.7 MB Notification: Performance of Templates: time 0.29/1.216, allocations: 168.3 MB / 0.8552 GB, free: 134.6 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches