Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 181.2 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.0009251, allocations: 95.48 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002957, allocations: 11.94 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2624, allocations: 50.39 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.3979, allocations: 110.7 MB / 0.5002 GB, free: 1.727 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.3982, allocations: 93.05 kB / 0.5003 GB, free: 1.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3687/0.7669, allocations: 65.45 MB / 0.5642 GB, free: 50.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.338e-06/0.7669, allocations: 0 / 0.5642 GB, free: 50.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002952/0.7672, allocations: 83.94 kB / 0.5643 GB, free: 50.07 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.01096/0.7782, allocations: 3.667 MB / 0.5679 GB, free: 46.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.7783, allocations: 8.031 kB / 0.5679 GB, free: 46.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.7814, allocations: 447.1 kB / 0.5683 GB, free: 45.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006877/0.7883, allocations: 2.394 MB / 0.5706 GB, free: 43.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.7886, allocations: 230.2 kB / 0.5708 GB, free: 43.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/0.7897, allocations: 307.9 kB / 0.5711 GB, free: 42.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00773/0.7975, allocations: 4.326 MB / 0.5754 GB, free: 38.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.936e-05/0.7976, allocations: 11.92 kB / 0.5754 GB, free: 38.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/0.798, allocations: 128 kB / 0.5755 GB, free: 38.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.7981, allocations: 126 kB / 0.5756 GB, free: 38.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006152/0.8043, allocations: 3.619 MB / 0.5792 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02136/0.8257, allocations: 13.58 MB / 0.5924 GB, free: 20.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.8284, allocations: 2.954 MB / 0.5953 GB, free: 17.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.8287, allocations: 151 kB / 0.5954 GB, free: 17.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.8288, allocations: 52.56 kB / 0.5955 GB, free: 17.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 3.376e-06/0.8288, allocations: 0 / 0.5955 GB, free: 17.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=183): time 0.01637/0.8452, allocations: 9.411 MB / 0.6047 GB, free: 7.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.8453, allocations: 77.36 kB / 0.6048 GB, free: 7.566 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.8482, allocations: 2.061 MB / 0.6068 GB, free: 5.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.8484, allocations: 57.7 kB / 0.6068 GB, free: 5.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/0.8491, allocations: 1.462 MB / 0.6083 GB, free: 3.938 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.8495, allocations: 0.6161 MB / 0.6089 GB, free: 3.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.8496, allocations: 40 kB / 0.6089 GB, free: 3.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.8497, allocations: 381.9 kB / 0.6093 GB, free: 2.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.8511, allocations: 1.163 MB / 0.6104 GB, free: 1.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.8526, allocations: 1.546 MB / 0.6119 GB, free: 24 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.8546, allocations: 1.365 MB / 0.6132 GB, free: 14.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.8546, allocations: 0 / 0.6132 GB, free: 14.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.00598/0.8606, allocations: 3.616 MB / 0.6168 GB, free: 11.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.8606, allocations: 14.66 kB / 0.6168 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.8607, allocations: 12 kB / 0.6168 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.8626, allocations: 0.8023 MB / 0.6176 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.8644, allocations: 467.3 kB / 0.618 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009531/0.8739, allocations: 10.51 MB / 0.6283 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.8763, allocations: 127.8 kB / 0.6284 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.8765, allocations: 79.98 kB / 0.6285 GB, free: 14.34 MB / 410.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 () * 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.002224/0.8788, allocations: 1.091 MB / 0.6296 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006281/0.8794, allocations: 245 kB / 0.6298 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005546/0.885, allocations: 3.399 MB / 0.6331 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.885, allocations: 20 kB / 0.6331 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.885, allocations: 11.98 kB / 0.6331 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.885, allocations: 7.969 kB / 0.6331 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/0.8967, allocations: 6.915 MB / 0.6399 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.8968, allocations: 4 kB / 0.6399 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.8982, allocations: 311.5 kB / 0.6402 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/0.9006, allocations: 0.9231 MB / 0.6411 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.9008, allocations: 47.97 kB / 0.6411 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.913, allocations: 13.77 MB / 0.6546 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9131, allocations: 3.984 kB / 0.6546 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2869/1.2, allocations: 5.135 MB / 0.6596 GB, free: 95.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/1.202, allocations: 0.5786 MB / 0.6602 GB, free: 95.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007326/1.203, allocations: 39.41 kB / 0.6602 GB, free: 95.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.205, allocations: 132 kB / 0.6603 GB, free: 95.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004317/1.205, allocations: 167 kB / 0.6605 GB, free: 95.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.205, allocations: 52.02 kB / 0.6606 GB, free: 95.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002525/1.208, allocations: 1.594 MB / 0.6621 GB, free: 94.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.208, allocations: 0 / 0.6621 GB, free: 94.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003191/1.211, allocations: 0.74 MB / 0.6628 GB, free: 94.91 MB / 426.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 () * Number of clocked 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.0007305/1.212, allocations: 364.2 kB / 0.6632 GB, free: 94.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005098/1.217, allocations: 3.66 MB / 0.6668 GB, free: 94.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.217, allocations: 2.906 kB / 0.6668 GB, free: 94.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003326/1.22, allocations: 2.565 MB / 0.6693 GB, free: 93.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/1.224, allocations: 0.6751 MB / 0.6699 GB, free: 93.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.237, allocations: 7.98 MB / 0.6777 GB, free: 90.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/1.24, allocations: 2.587 MB / 0.6802 GB, free: 89.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002506/1.242, allocations: 0.5847 MB / 0.6808 GB, free: 89.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/1.243, allocations: 152.2 kB / 0.681 GB, free: 89.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.813e-06/1.243, allocations: 0 / 0.681 GB, free: 89.25 MB / 426.7 MB Notification: Performance of Templates: time 0.07125/1.314, allocations: 41.85 MB / 0.7218 GB, free: 74 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches