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.001517/0.001517, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008247/0.0008247, allocations: 94.67 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.609e-05/1.628e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 51.49 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4047/0.5124, allocations: 110.8 MB / 0.4941 GB, free: 14.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5127, allocations: 84.95 kB / 0.4942 GB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1717/0.6845, allocations: 64.91 MB / 0.5576 GB, free: 2.422 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6845, allocations: 8 kB / 0.5576 GB, free: 2.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000331/0.6848, allocations: 83.94 kB / 0.5577 GB, free: 2.332 MB / 426.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.008569/0.6934, allocations: 3.268 MB / 0.5609 GB, free: 15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.6935, allocations: 12.03 kB / 0.5609 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.6958, allocations: 483 kB / 0.5613 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005585/0.7014, allocations: 2.375 MB / 0.5636 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.7016, allocations: 100 kB / 0.5637 GB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008287/0.7024, allocations: 187.8 kB / 0.5639 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006617/0.709, allocations: 3.284 MB / 0.5671 GB, free: 8.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007937/0.717, allocations: 3.783 MB / 0.5708 GB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-05/0.7171, allocations: 19.81 kB / 0.5708 GB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003731/0.7175, allocations: 12 kB / 0.5709 GB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.7176, allocations: 130 kB / 0.571 GB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2388/0.9564, allocations: 12.95 MB / 0.5836 GB, free: 78.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.9588, allocations: 2.811 MB / 0.5864 GB, free: 77.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.9604, allocations: 1.468 MB / 0.5878 GB, free: 77.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/0.9607, allocations: 139.8 kB / 0.5879 GB, free: 77.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.9608, allocations: 59.42 kB / 0.588 GB, free: 77.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=167): time 4.629e-06/0.9608, allocations: 0 / 0.588 GB, free: 77.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=183): time 0.008975/0.9698, allocations: 6.286 MB / 0.5941 GB, free: 76.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.9698, allocations: 76 kB / 0.5942 GB, free: 76.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.9718, allocations: 1.704 MB / 0.5959 GB, free: 76.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.972, allocations: 25.7 kB / 0.5959 GB, free: 76.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000697/0.9727, allocations: 1.47 MB / 0.5973 GB, free: 75.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.973, allocations: 0.5825 MB / 0.5979 GB, free: 75.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.88e-05/0.9731, allocations: 2.906 kB / 0.5979 GB, free: 75.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.9732, allocations: 386 kB / 0.5983 GB, free: 74.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.9744, allocations: 1.046 MB / 0.5993 GB, free: 74.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.9758, allocations: 1.438 MB / 0.6007 GB, free: 74.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.9772, allocations: 1.253 MB / 0.6019 GB, free: 74.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.9772, allocations: 3.156 kB / 0.6019 GB, free: 74.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004422/0.9817, allocations: 3.273 MB / 0.6051 GB, free: 74.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.9817, allocations: 12.12 kB / 0.6051 GB, free: 74.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.9818, allocations: 9.406 kB / 0.6051 GB, free: 74.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/0.9835, allocations: 0.7793 MB / 0.6059 GB, free: 74.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.9852, allocations: 470 kB / 0.6063 GB, free: 74.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007292/0.9925, allocations: 9.842 MB / 0.616 GB, free: 68.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.9944, allocations: 88.66 kB / 0.616 GB, free: 68.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/0.9947, allocations: 72.47 kB / 0.6161 GB, free: 68.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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.0004312/0.9951, allocations: 152.1 kB / 0.6163 GB, free: 68.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006163/0.9957, allocations: 226.3 kB / 0.6165 GB, free: 67.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/1.001, allocations: 3.083 MB / 0.6195 GB, free: 67.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/1.001, allocations: 21.03 kB / 0.6195 GB, free: 67.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/1.001, allocations: 8.062 kB / 0.6195 GB, free: 67.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/1.001, allocations: 10.73 kB / 0.6195 GB, free: 67.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/1.012, allocations: 6.248 MB / 0.6256 GB, free: 64.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.012, allocations: 2.344 kB / 0.6256 GB, free: 64.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/1.013, allocations: 312.9 kB / 0.6259 GB, free: 64.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002646/1.016, allocations: 0.8901 MB / 0.6268 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/1.016, allocations: 17.64 kB / 0.6268 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/1.026, allocations: 12.95 MB / 0.6395 GB, free: 54.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.026, allocations: 3.938 kB / 0.6395 GB, free: 54.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006689/1.033, allocations: 4.766 MB / 0.6441 GB, free: 52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/1.034, allocations: 0.5409 MB / 0.6446 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005753/1.035, allocations: 9.609 kB / 0.6447 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.036, allocations: 97.34 kB / 0.6447 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/1.037, allocations: 171.7 kB / 0.6449 GB, free: 51.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.037, allocations: 53.02 kB / 0.645 GB, free: 51.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002302/1.039, allocations: 1.291 MB / 0.6462 GB, free: 51.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.039, allocations: 0 / 0.6462 GB, free: 51.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002665/1.042, allocations: 0.6412 MB / 0.6468 GB, free: 51.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (148): * Single equations (assignments): 140 * 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.0006476/1.043, allocations: 341.8 kB / 0.6472 GB, free: 50.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004184/1.047, allocations: 3.368 MB / 0.6505 GB, free: 49.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.047, allocations: 0 / 0.6505 GB, free: 49.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/1.05, allocations: 2.395 MB / 0.6528 GB, free: 47.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/1.052, allocations: 0.5188 MB / 0.6533 GB, free: 47.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009634/1.062, allocations: 5.455 MB / 0.6586 GB, free: 45.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/1.064, allocations: 2.594 MB / 0.6612 GB, free: 44.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001894/1.066, allocations: 0.5548 MB / 0.6617 GB, free: 44.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005398/1.067, allocations: 144.3 kB / 0.6618 GB, free: 44.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.353e-06/1.067, allocations: 0 / 0.6618 GB, free: 44.5 MB / 442.7 MB Notification: Performance of Templates: time 0.04917/1.116, allocations: 33.52 MB / 0.6946 GB, free: 39.44 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