Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.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.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002435/0.002435, allocations: 177.5 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.915/2.915, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001104/0.001105, allocations: 97.36 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004311, allocations: 12 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/0.5169, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.7267, allocations: 107.5 MB / 483.3 MB, free: 5.039 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005052/0.7273, allocations: 95.89 kB / 483.4 MB, free: 4.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5413/1.269, allocations: 44.42 MB / 0.5154 GB, free: 96.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.14e-06/1.269, allocations: 3.938 kB / 0.5154 GB, free: 96.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002624/1.269, allocations: 54.59 kB / 0.5155 GB, free: 96.06 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.01136/1.28, allocations: 2.284 MB / 0.5177 GB, free: 94.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.755e-05/1.28, allocations: 10 kB / 0.5177 GB, free: 94.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/1.283, allocations: 280 kB / 0.518 GB, free: 94.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006852/1.29, allocations: 1.484 MB / 0.5194 GB, free: 93.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/1.29, allocations: 144 kB / 0.5196 GB, free: 93.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/1.291, allocations: 193.2 kB / 0.5197 GB, free: 93.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008776/1.3, allocations: 2.427 MB / 0.5221 GB, free: 92.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/1.3, allocations: 2.781 kB / 0.5221 GB, free: 92.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003747/1.301, allocations: 78.56 kB / 0.5222 GB, free: 92.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/1.301, allocations: 85.56 kB / 0.5223 GB, free: 92.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006716/1.308, allocations: 1.887 MB / 0.5241 GB, free: 91.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02257/1.33, allocations: 7.452 MB / 0.5314 GB, free: 84.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003306/1.334, allocations: 1.388 MB / 0.5328 GB, free: 82.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/1.336, allocations: 0.7378 MB / 0.5335 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/1.336, allocations: 142 kB / 0.5336 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/1.338, allocations: 0.6992 MB / 0.5343 GB, free: 81.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 5.851e-06/1.338, allocations: 0 / 0.5343 GB, free: 81.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=130): time 0.02755/1.365, allocations: 8.462 MB / 0.5426 GB, free: 72.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/1.366, allocations: 197.2 kB / 0.5427 GB, free: 72.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/1.369, allocations: 1.375 MB / 0.5441 GB, free: 71.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004777/1.37, allocations: 57.64 kB / 0.5441 GB, free: 71.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/1.371, allocations: 0.9249 MB / 0.545 GB, free: 70.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007732/1.372, allocations: 461.2 kB / 0.5455 GB, free: 69.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/1.372, allocations: 24 kB / 0.5455 GB, free: 69.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/1.372, allocations: 369.9 kB / 0.5459 GB, free: 69.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/1.374, allocations: 0.6871 MB / 0.5465 GB, free: 68.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/1.376, allocations: 1.056 MB / 0.5476 GB, free: 67.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/1.379, allocations: 1.818 MB / 0.5493 GB, free: 65.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/1.38, allocations: 7.938 kB / 0.5493 GB, free: 65.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007245/1.387, allocations: 2.517 MB / 0.5518 GB, free: 62.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/1.387, allocations: 12 kB / 0.5518 GB, free: 62.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/1.387, allocations: 8 kB / 0.5518 GB, free: 62.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/1.39, allocations: 0.6604 MB / 0.5525 GB, free: 62.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/1.392, allocations: 307.5 kB / 0.5528 GB, free: 61.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/1.403, allocations: 6.468 MB / 0.5591 GB, free: 55.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/1.406, allocations: 107.8 kB / 0.5592 GB, free: 55.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/1.407, allocations: 59.98 kB / 0.5592 GB, free: 55.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 145 * 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: 2 * 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: 2 {(5,84.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002388/1.409, allocations: 0.6379 MB / 0.5599 GB, free: 54.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007219/1.41, allocations: 158 kB / 0.56 GB, free: 54.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006552/1.416, allocations: 2.371 MB / 0.5623 GB, free: 51.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.345e-05/1.416, allocations: 23.92 kB / 0.5623 GB, free: 51.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/1.416, allocations: 8 kB / 0.5624 GB, free: 51.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-05/1.416, allocations: 7.984 kB / 0.5624 GB, free: 51.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/1.431, allocations: 4.885 MB / 0.5671 GB, free: 46.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.546e-05/1.431, allocations: 8.031 kB / 0.5671 GB, free: 46.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.432, allocations: 179.8 kB / 0.5673 GB, free: 46.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/1.435, allocations: 0.7256 MB / 0.568 GB, free: 45.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003091/1.436, allocations: 35.97 kB / 0.5681 GB, free: 45.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/1.448, allocations: 8.151 MB / 0.576 GB, free: 37.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/1.448, allocations: 4 kB / 0.576 GB, free: 37.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009105/1.457, allocations: 3.367 MB / 0.5793 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/1.459, allocations: 399 kB / 0.5797 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006506/1.46, allocations: 28.25 kB / 0.5797 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/1.462, allocations: 83.91 kB / 0.5798 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004875/1.462, allocations: 109 kB / 0.5799 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.462, allocations: 35.98 kB / 0.5799 GB, free: 33.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002607/1.465, allocations: 0.9519 MB / 0.5809 GB, free: 32.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.465, allocations: 0 / 0.5809 GB, free: 32.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004027/1.469, allocations: 0.5195 MB / 0.5814 GB, free: 31.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(5,84.0%) 23,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00226/1.471, allocations: 0.605 MB / 0.582 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006827/1.478, allocations: 2.395 MB / 0.5843 GB, free: 28.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/1.478, allocations: 0 / 0.5843 GB, free: 28.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004284/1.483, allocations: 1.611 MB / 0.5859 GB, free: 27.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004685/1.487, allocations: 399 kB / 0.5863 GB, free: 26.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.5, allocations: 5.204 MB / 0.5913 GB, free: 21.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/1.502, allocations: 1.698 MB / 0.593 GB, free: 19.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008572/1.503, allocations: 119.4 kB / 0.5931 GB, free: 19.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/1.503, allocations: 0 / 0.5931 GB, free: 19.54 MB / 378.7 MB Notification: Performance of Templates: time 0.5032/2.006, allocations: 65.16 MB / 0.6567 GB, free: 115.2 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches