Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008177/0.0008176, allocations: 86.7 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.995e-05, allocations: 7.984 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.08945, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.4157, allocations: 110.1 MB / 480.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.416, allocations: 85.7 kB / 480.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3988/0.8148, allocations: 65.2 MB / 0.5326 GB, free: 91.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.8148, allocations: 0 / 0.5326 GB, free: 91.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003102/0.8151, allocations: 87.19 kB / 0.5327 GB, free: 91.34 MB / 410.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.008822/0.824, allocations: 3.249 MB / 0.5359 GB, free: 90.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.824, allocations: 10.98 kB / 0.5359 GB, free: 90.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/0.8262, allocations: 443.6 kB / 0.5363 GB, free: 90.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005683/0.8319, allocations: 2.378 MB / 0.5386 GB, free: 89.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.8321, allocations: 232.5 kB / 0.5389 GB, free: 89.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007442/0.8328, allocations: 307.3 kB / 0.5392 GB, free: 89.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007683/0.8405, allocations: 4.238 MB / 0.5433 GB, free: 89.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.079e-05/0.8406, allocations: 10.48 kB / 0.5433 GB, free: 89.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/0.841, allocations: 135.8 kB / 0.5434 GB, free: 89.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.8411, allocations: 127 kB / 0.5436 GB, free: 89.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006629/0.8478, allocations: 3.483 MB / 0.547 GB, free: 89.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/0.8695, allocations: 13.6 MB / 0.5602 GB, free: 85.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/0.8722, allocations: 2.896 MB / 0.5631 GB, free: 84.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/0.8742, allocations: 1.576 MB / 0.5646 GB, free: 83.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.8745, allocations: 149.8 kB / 0.5647 GB, free: 83.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.8746, allocations: 58.48 kB / 0.5648 GB, free: 83.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=167): time 3.586e-06/0.8746, allocations: 0 / 0.5648 GB, free: 83.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=183): time 0.01301/0.8876, allocations: 7.304 MB / 0.5719 GB, free: 80.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.8876, allocations: 69.81 kB / 0.572 GB, free: 80.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002735/0.8904, allocations: 2.052 MB / 0.574 GB, free: 80.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.8906, allocations: 59.48 kB / 0.5741 GB, free: 80.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007099/0.8913, allocations: 1.461 MB / 0.5755 GB, free: 78.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.8917, allocations: 0.6069 MB / 0.5761 GB, free: 78.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.8918, allocations: 39.81 kB / 0.5761 GB, free: 78.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.8919, allocations: 384.9 kB / 0.5765 GB, free: 78.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.8932, allocations: 1.081 MB / 0.5775 GB, free: 77.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.8947, allocations: 1.488 MB / 0.579 GB, free: 76.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.8962, allocations: 1.291 MB / 0.5803 GB, free: 76.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.8962, allocations: 5.844 kB / 0.5803 GB, free: 76.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.00487/0.9011, allocations: 3.502 MB / 0.5837 GB, free: 75.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.9011, allocations: 10.56 kB / 0.5837 GB, free: 75.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.9011, allocations: 12.09 kB / 0.5837 GB, free: 75.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.903, allocations: 0.8202 MB / 0.5845 GB, free: 74.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.9047, allocations: 459.8 kB / 0.5849 GB, free: 74.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008118/0.9128, allocations: 10.82 MB / 0.5955 GB, free: 66.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.915, allocations: 130.3 kB / 0.5956 GB, free: 66.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.9152, allocations: 76.34 kB / 0.5957 GB, free: 66.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * 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%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003646/0.9156, allocations: 227.4 kB / 0.5959 GB, free: 66.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/0.916, allocations: 242.2 kB / 0.5962 GB, free: 66.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/0.9208, allocations: 3.28 MB / 0.5994 GB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.9209, allocations: 17.78 kB / 0.5994 GB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.9209, allocations: 7.469 kB / 0.5994 GB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.9209, allocations: 9.797 kB / 0.5994 GB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.9318, allocations: 6.957 MB / 0.6062 GB, free: 61.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.9319, allocations: 3.875 kB / 0.6062 GB, free: 61.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.9334, allocations: 314 kB / 0.6065 GB, free: 61.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/0.9356, allocations: 0.9222 MB / 0.6074 GB, free: 61.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.9357, allocations: 42.03 kB / 0.6074 GB, free: 61.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009089/0.9448, allocations: 13.47 MB / 0.6206 GB, free: 48.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9448, allocations: 4 kB / 0.6206 GB, free: 48.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006193/0.951, allocations: 4.989 MB / 0.6255 GB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.9524, allocations: 0.5798 MB / 0.626 GB, free: 43.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.9528, allocations: 38.72 kB / 0.6261 GB, free: 43.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.9541, allocations: 135.8 kB / 0.6262 GB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/0.9544, allocations: 158.7 kB / 0.6263 GB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.9546, allocations: 54.98 kB / 0.6264 GB, free: 43.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002199/0.9568, allocations: 1.572 MB / 0.6279 GB, free: 41.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9568, allocations: 3.938 kB / 0.6279 GB, free: 41.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002421/0.9592, allocations: 0.746 MB / 0.6287 GB, free: 40.89 MB / 410.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.0005128/0.9597, allocations: 357.4 kB / 0.629 GB, free: 40.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003972/0.9637, allocations: 3.535 MB / 0.6325 GB, free: 37.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.9637, allocations: 4 kB / 0.6325 GB, free: 37.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002659/0.9664, allocations: 2.494 MB / 0.6349 GB, free: 34.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/0.9694, allocations: 0.6766 MB / 0.6356 GB, free: 34.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009263/0.9787, allocations: 5.623 MB / 0.641 GB, free: 29.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/0.9806, allocations: 2.589 MB / 0.6436 GB, free: 27.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001877/0.9825, allocations: 0.5692 MB / 0.6441 GB, free: 27.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.9829, allocations: 157.6 kB / 0.6443 GB, free: 26.86 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.9829, allocations: 0 / 0.6443 GB, free: 26.86 MB / 410.7 MB Notification: Performance of Templates: time 0.06002/1.043, allocations: 42.42 MB / 0.6857 GB, free: 4.734 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches