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.0009207/0.0009207, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008154/0.0008154, allocations: 90.69 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.55e-05/1.551e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07706/0.07709, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3061/0.3832, allocations: 109.7 MB / 472.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.3835, allocations: 82.77 kB / 472.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1614/0.5449, allocations: 64.34 MB / 0.5246 GB, free: 7.102 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.545, allocations: 0 / 0.5246 GB, free: 7.102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002834/0.5453, allocations: 87.88 kB / 0.5247 GB, free: 7.016 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.007412/0.5527, allocations: 3.257 MB / 0.5279 GB, free: 3.699 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5528, allocations: 8.031 kB / 0.5279 GB, free: 3.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.5541, allocations: 447.1 kB / 0.5283 GB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004318/0.5585, allocations: 2.375 MB / 0.5306 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.796e-05/0.5586, allocations: 96 kB / 0.5307 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/0.559, allocations: 187.9 kB / 0.5309 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1954/0.7543, allocations: 3.292 MB / 0.5341 GB, free: 92.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007071/0.7614, allocations: 3.793 MB / 0.5378 GB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.938e-05/0.7615, allocations: 7.656 kB / 0.5378 GB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000247/0.7618, allocations: 3.875 kB / 0.5378 GB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.7619, allocations: 126.4 kB / 0.5379 GB, free: 92.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02125/0.7832, allocations: 12.98 MB / 0.5506 GB, free: 89.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/0.786, allocations: 2.824 MB / 0.5534 GB, free: 88.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.7877, allocations: 1.463 MB / 0.5548 GB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003191/0.7881, allocations: 144.8 kB / 0.5549 GB, free: 88.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.7881, allocations: 51.94 kB / 0.555 GB, free: 88.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=167): time 4.599e-06/0.7881, allocations: 0 / 0.555 GB, free: 88.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=183): time 0.009723/0.7979, allocations: 6.326 MB / 0.5612 GB, free: 87.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.7979, allocations: 72.28 kB / 0.5612 GB, free: 87.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.8001, allocations: 1.706 MB / 0.5629 GB, free: 86.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.8003, allocations: 25.7 kB / 0.5629 GB, free: 86.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007119/0.801, allocations: 1.469 MB / 0.5644 GB, free: 85.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.8013, allocations: 0.5836 MB / 0.5649 GB, free: 85.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.8014, allocations: 3.094 kB / 0.5649 GB, free: 85.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8015, allocations: 383 kB / 0.5653 GB, free: 85.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.8027, allocations: 1.046 MB / 0.5663 GB, free: 84.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.804, allocations: 1.438 MB / 0.5677 GB, free: 83.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.8055, allocations: 1.254 MB / 0.569 GB, free: 83.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.8055, allocations: 3.812 kB / 0.569 GB, free: 83.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004459/0.81, allocations: 3.295 MB / 0.5722 GB, free: 82.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.81, allocations: 14.39 kB / 0.5722 GB, free: 82.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.8101, allocations: 10.19 kB / 0.5722 GB, free: 82.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/0.8117, allocations: 0.7933 MB / 0.573 GB, free: 81.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.8134, allocations: 455.5 kB / 0.5734 GB, free: 81.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007716/0.8211, allocations: 10.39 MB / 0.5835 GB, free: 73.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.823, allocations: 90.31 kB / 0.5836 GB, free: 73.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.8232, allocations: 77.47 kB / 0.5837 GB, free: 73.89 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.0003537/0.8236, allocations: 157.3 kB / 0.5839 GB, free: 73.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/0.8239, allocations: 225.3 kB / 0.5841 GB, free: 73.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/0.8282, allocations: 3.099 MB / 0.5871 GB, free: 72.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.8282, allocations: 22.53 kB / 0.5871 GB, free: 72.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.8283, allocations: 7.438 kB / 0.5871 GB, free: 72.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.8283, allocations: 9.812 kB / 0.5871 GB, free: 72.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008744/0.837, allocations: 6.372 MB / 0.5934 GB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.8371, allocations: 0 / 0.5934 GB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.8383, allocations: 317.4 kB / 0.5937 GB, free: 70 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/0.8402, allocations: 0.899 MB / 0.5945 GB, free: 69.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.8403, allocations: 18.02 kB / 0.5946 GB, free: 69.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008486/0.8488, allocations: 12.94 MB / 0.6072 GB, free: 59.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8489, allocations: 0 / 0.6072 GB, free: 59.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005429/0.8543, allocations: 4.759 MB / 0.6118 GB, free: 57.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.8554, allocations: 0.5493 MB / 0.6124 GB, free: 56.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.8557, allocations: 15.81 kB / 0.6124 GB, free: 56.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.8569, allocations: 103 kB / 0.6125 GB, free: 56.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/0.8572, allocations: 161.5 kB / 0.6126 GB, free: 56.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.8573, allocations: 50.55 kB / 0.6127 GB, free: 56.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001584/0.8589, allocations: 1.29 MB / 0.614 GB, free: 56.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8589, allocations: 0 / 0.614 GB, free: 56.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002139/0.8611, allocations: 0.6406 MB / 0.6146 GB, free: 56.27 MB / 410.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.000532/0.8616, allocations: 322.8 kB / 0.6149 GB, free: 56.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003735/0.8654, allocations: 3.397 MB / 0.6182 GB, free: 52.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.8654, allocations: 4 kB / 0.6182 GB, free: 52.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.868, allocations: 2.389 MB / 0.6205 GB, free: 50.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.8706, allocations: 0.5189 MB / 0.621 GB, free: 50.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008118/0.8788, allocations: 5.463 MB / 0.6264 GB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.8806, allocations: 2.587 MB / 0.6289 GB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001722/0.8823, allocations: 0.5445 MB / 0.6294 GB, free: 43.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.8828, allocations: 143 kB / 0.6296 GB, free: 42.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.8828, allocations: 4 kB / 0.6296 GB, free: 42.91 MB / 410.7 MB Notification: Performance of Templates: time 0.04799/0.9308, allocations: 33.5 MB / 0.6623 GB, free: 15.26 MB / 410.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