Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009837/0.0009839, allocations: 171.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.443/1.443, 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.0008826/0.0008827, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.047e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0788/0.07883, allocations: 47.57 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3342/0.413, allocations: 107.2 MB / 477.2 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.4133, allocations: 87.33 kB / 477.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.118/0.5313, allocations: 44.51 MB / 0.5096 GB, free: 6.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5313, allocations: 3.938 kB / 0.5096 GB, free: 6.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001555/0.5315, allocations: 51.94 kB / 0.5097 GB, free: 6.68 MB / 394.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.003768/0.5353, allocations: 2.065 MB / 0.5117 GB, free: 4.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5353, allocations: 11.97 kB / 0.5117 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006364/0.536, allocations: 277 kB / 0.512 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.5387, allocations: 1.432 MB / 0.5134 GB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.5388, allocations: 143.7 kB / 0.5135 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/0.5391, allocations: 191.9 kB / 0.5137 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003696/0.5428, allocations: 2.359 MB / 0.516 GB, free: 28 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.5429, allocations: 7.859 kB / 0.516 GB, free: 20 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.5431, allocations: 88.02 kB / 0.5161 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-05/0.5432, allocations: 83.69 kB / 0.5162 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.5461, allocations: 1.838 MB / 0.5179 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.557, allocations: 7.437 MB / 0.5252 GB, free: 6.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.5587, allocations: 1.353 MB / 0.5265 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.5598, allocations: 0.7262 MB / 0.5272 GB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.5601, allocations: 138 kB / 0.5274 GB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009376/0.561, allocations: 0.6759 MB / 0.528 GB, free: 3.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=102): time 2.545e-06/0.561, allocations: 4 kB / 0.528 GB, free: 3.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=130): time 0.214/0.775, allocations: 7.638 MB / 0.5355 GB, free: 103.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/0.7751, allocations: 194.6 kB / 0.5357 GB, free: 103.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002734/0.7779, allocations: 1.211 MB / 0.5369 GB, free: 103.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.7781, allocations: 51.52 kB / 0.5369 GB, free: 103.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009744/0.7791, allocations: 0.9274 MB / 0.5378 GB, free: 102.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005086/0.7796, allocations: 452.4 kB / 0.5382 GB, free: 102.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/0.7797, allocations: 29.12 kB / 0.5383 GB, free: 102.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7798, allocations: 366.1 kB / 0.5386 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.7815, allocations: 0.6667 MB / 0.5393 GB, free: 102.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.7837, allocations: 1.029 MB / 0.5403 GB, free: 102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.7861, allocations: 0.8369 MB / 0.5411 GB, free: 102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.115e-05/0.7861, allocations: 5.656 kB / 0.5411 GB, free: 102 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.006387/0.7925, allocations: 2.471 MB / 0.5435 GB, free: 101.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.7926, allocations: 8.688 kB / 0.5435 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.7927, allocations: 8.875 kB / 0.5435 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.7945, allocations: 0.6584 MB / 0.5442 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.7957, allocations: 298.4 kB / 0.5445 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007954/0.8036, allocations: 6.458 MB / 0.5508 GB, free: 99.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.8051, allocations: 99.06 kB / 0.5509 GB, free: 99.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.8054, allocations: 62.3 kB / 0.5509 GB, free: 99.19 MB / 410.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 () * 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.0003928/0.8058, allocations: 192.9 kB / 0.5511 GB, free: 99.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004967/0.8063, allocations: 161.3 kB / 0.5513 GB, free: 99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/0.8101, allocations: 2.342 MB / 0.5535 GB, free: 98.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.8101, allocations: 17.88 kB / 0.5536 GB, free: 98.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.8102, allocations: 3.969 kB / 0.5536 GB, free: 98.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.8102, allocations: 8.969 kB / 0.5536 GB, free: 98.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007631/0.8178, allocations: 4.839 MB / 0.5583 GB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.8179, allocations: 7.719 kB / 0.5583 GB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007452/0.8186, allocations: 187.6 kB / 0.5585 GB, free: 96.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.8203, allocations: 0.735 MB / 0.5592 GB, free: 96.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.8204, allocations: 37.7 kB / 0.5592 GB, free: 96.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007399/0.8279, allocations: 8.146 MB / 0.5672 GB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8279, allocations: 5.938 kB / 0.5672 GB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/0.8328, allocations: 3.419 MB / 0.5705 GB, free: 89.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.8339, allocations: 399 kB / 0.5709 GB, free: 88.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004996/0.8344, allocations: 34.69 kB / 0.571 GB, free: 88.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.8355, allocations: 75.81 kB / 0.571 GB, free: 88.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.8357, allocations: 103.2 kB / 0.5711 GB, free: 88.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/0.8358, allocations: 41.88 kB / 0.5712 GB, free: 88.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001496/0.8373, allocations: 0.9401 MB / 0.5721 GB, free: 88.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8373, allocations: 2.625 kB / 0.5721 GB, free: 88.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001984/0.8393, allocations: 0.5148 MB / 0.5726 GB, free: 88.41 MB / 410.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) * 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 {(7,63.3%) 21,(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.001189/0.8405, allocations: 0.5584 MB / 0.5731 GB, free: 88.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003535/0.8441, allocations: 2.332 MB / 0.5754 GB, free: 87.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.8441, allocations: 0 / 0.5754 GB, free: 87.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002509/0.8466, allocations: 1.603 MB / 0.577 GB, free: 86.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.8486, allocations: 380.8 kB / 0.5773 GB, free: 86.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/0.8543, allocations: 3.505 MB / 0.5808 GB, free: 84.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.8557, allocations: 1.759 MB / 0.5825 GB, free: 83.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001132/0.8568, allocations: 329.6 kB / 0.5828 GB, free: 83.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/0.8572, allocations: 108.5 kB / 0.5829 GB, free: 83.69 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.8572, allocations: 0 / 0.5829 GB, free: 83.69 MB / 410.7 MB Notification: Performance of Templates: time 0.0388/0.896, allocations: 27.65 MB / 0.6099 GB, free: 69.75 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches