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.001388/0.001388, allocations: 176.8 kB / 17.4 MB, free: 4.281 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.544/1.544, allocations: 223.3 MB / 241.4 MB, free: 9.957 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.0009935/0.0009936, allocations: 93.7 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004385, allocations: 8 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2276, allocations: 50.4 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.3522, allocations: 110.8 MB / 0.5016 GB, free: 1.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.3525, allocations: 87.95 kB / 0.5016 GB, free: 1.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3569/0.7094, allocations: 65.44 MB / 0.5655 GB, free: 49.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.7095, allocations: 0 / 0.5655 GB, free: 49.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004652/0.7099, allocations: 87.94 kB / 0.5656 GB, free: 49.75 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.01091/0.7209, allocations: 3.632 MB / 0.5692 GB, free: 46.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.7209, allocations: 12.03 kB / 0.5692 GB, free: 46.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.7232, allocations: 448 kB / 0.5696 GB, free: 45.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00632/0.7296, allocations: 2.472 MB / 0.572 GB, free: 43.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.7299, allocations: 234.5 kB / 0.5722 GB, free: 42.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/0.7313, allocations: 304.3 kB / 0.5725 GB, free: 42.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.7433, allocations: 4.35 MB / 0.5768 GB, free: 38.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.7435, allocations: 15.88 kB / 0.5768 GB, free: 38.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009589/0.7445, allocations: 132 kB / 0.5769 GB, free: 37.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.7447, allocations: 130 kB / 0.5771 GB, free: 37.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008097/0.7528, allocations: 3.607 MB / 0.5806 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02642/0.7792, allocations: 13.6 MB / 0.5939 GB, free: 20.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00356/0.7828, allocations: 2.965 MB / 0.5968 GB, free: 17.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002561/0.7854, allocations: 1.646 MB / 0.5984 GB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000379/0.7858, allocations: 135.1 kB / 0.5985 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.7859, allocations: 60.55 kB / 0.5985 GB, free: 15.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 4.309e-06/0.7859, allocations: 0 / 0.5985 GB, free: 15.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=183): time 0.01819/0.8041, allocations: 9.339 MB / 0.6077 GB, free: 5.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.8042, allocations: 69.41 kB / 0.6077 GB, free: 5.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/0.8082, allocations: 2.314 MB / 0.61 GB, free: 3.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003225/0.8085, allocations: 57.7 kB / 0.61 GB, free: 3.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008411/0.8094, allocations: 1.458 MB / 0.6115 GB, free: 1.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006181/0.81, allocations: 0.6161 MB / 0.6121 GB, free: 1.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.8102, allocations: 44 kB / 0.6121 GB, free: 1.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8104, allocations: 381.9 kB / 0.6125 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.8122, allocations: 1.132 MB / 0.6136 GB, free: 15.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.8146, allocations: 1.55 MB / 0.6151 GB, free: 13.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004516/0.8191, allocations: 2.772 MB / 0.6178 GB, free: 10.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.8191, allocations: 0 / 0.6178 GB, free: 10.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007216/0.8264, allocations: 3.6 MB / 0.6213 GB, free: 7.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.8264, allocations: 8.938 kB / 0.6213 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/0.8265, allocations: 12 kB / 0.6213 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/0.8288, allocations: 0.7942 MB / 0.6221 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.8308, allocations: 459.3 kB / 0.6226 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.8416, allocations: 10.3 MB / 0.6326 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.8443, allocations: 124 kB / 0.6327 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005325/0.8449, allocations: 80 kB / 0.6328 GB, free: 10.8 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.003099/0.848, allocations: 1.094 MB / 0.6339 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009168/0.8489, allocations: 249 kB / 0.6341 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006989/0.8559, allocations: 3.363 MB / 0.6374 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.8559, allocations: 16 kB / 0.6374 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.613e-05/0.856, allocations: 8 kB / 0.6374 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.856, allocations: 7.969 kB / 0.6374 GB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.8708, allocations: 6.926 MB / 0.6442 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.8708, allocations: 4.281 kB / 0.6442 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.8722, allocations: 311.5 kB / 0.6445 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00243/0.8746, allocations: 0.9235 MB / 0.6454 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.8748, allocations: 47.97 kB / 0.6454 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2278/1.103, allocations: 13.49 MB / 0.6586 GB, free: 94.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.103, allocations: 2.281 kB / 0.6586 GB, free: 94.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00763/1.11, allocations: 4.981 MB / 0.6635 GB, free: 94.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.112, allocations: 0.5801 MB / 0.664 GB, free: 93.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/1.112, allocations: 41.52 kB / 0.6641 GB, free: 93.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.113, allocations: 126.8 kB / 0.6642 GB, free: 93.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004037/1.114, allocations: 166.7 kB / 0.6644 GB, free: 93.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.114, allocations: 50.78 kB / 0.6644 GB, free: 93.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002234/1.116, allocations: 1.594 MB / 0.666 GB, free: 93.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.116, allocations: 2.656 kB / 0.666 GB, free: 93.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002544/1.119, allocations: 0.7396 MB / 0.6667 GB, free: 93.81 MB / 426.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.0006641/1.119, allocations: 363.7 kB / 0.667 GB, free: 93.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004794/1.124, allocations: 3.628 MB / 0.6706 GB, free: 92.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.124, allocations: 0 / 0.6706 GB, free: 92.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003249/1.127, allocations: 2.568 MB / 0.6731 GB, free: 92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004151/1.132, allocations: 0.6879 MB / 0.6738 GB, free: 91.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.144, allocations: 7.993 MB / 0.6816 GB, free: 88.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002597/1.147, allocations: 2.521 MB / 0.684 GB, free: 88.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00262/1.149, allocations: 0.5814 MB / 0.6846 GB, free: 88.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008084/1.15, allocations: 154.7 kB / 0.6847 GB, free: 88.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.452e-06/1.15, allocations: 4 kB / 0.6848 GB, free: 88.11 MB / 426.7 MB Notification: Performance of Templates: time 0.06987/1.22, allocations: 42.41 MB / 0.7262 GB, free: 70.54 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/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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches