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.001318/0.001318, allocations: 183.4 kB / 18.04 MB, free: 3.777 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.355/1.355, allocations: 205.4 MB / 224.2 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.0007387/0.0007388, allocations: 81.67 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004293, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2438, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.3573, allocations: 107.6 MB / 484.6 MB, free: 4.938 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.3576, allocations: 87.95 kB / 484.7 MB, free: 4.852 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2514/0.609, allocations: 44.42 MB / 0.5167 GB, free: 96.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6091, allocations: 4.188 kB / 0.5167 GB, free: 96.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001302/0.6092, allocations: 59 kB / 0.5167 GB, free: 96.37 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.004079/0.6133, allocations: 2.277 MB / 0.519 GB, free: 95.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.6134, allocations: 9.031 kB / 0.519 GB, free: 95.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006273/0.614, allocations: 281.7 kB / 0.5192 GB, free: 94.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.6164, allocations: 1.48 MB / 0.5207 GB, free: 94.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.006e-05/0.6165, allocations: 148.7 kB / 0.5208 GB, free: 94.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.6167, allocations: 194 kB / 0.521 GB, free: 94.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/0.62, allocations: 2.425 MB / 0.5234 GB, free: 92.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-05/0.6201, allocations: 7.281 kB / 0.5234 GB, free: 92.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.6202, allocations: 81.22 kB / 0.5235 GB, free: 92.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-05/0.6203, allocations: 78.91 kB / 0.5235 GB, free: 92.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/0.6232, allocations: 1.892 MB / 0.5254 GB, free: 91.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009237/0.6325, allocations: 7.45 MB / 0.5327 GB, free: 84.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.6341, allocations: 1.391 MB / 0.534 GB, free: 82.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000918/0.635, allocations: 0.7417 MB / 0.5348 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.6352, allocations: 137.9 kB / 0.5349 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008268/0.6361, allocations: 0.6953 MB / 0.5356 GB, free: 81.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 3.126e-06/0.6361, allocations: 0 / 0.5356 GB, free: 81.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=130): time 0.01549/0.6516, allocations: 8.471 MB / 0.5438 GB, free: 72.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.6517, allocations: 201.2 kB / 0.544 GB, free: 72.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.6533, allocations: 1.379 MB / 0.5454 GB, free: 71.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.6534, allocations: 45.7 kB / 0.5454 GB, free: 70.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/0.654, allocations: 0.9211 MB / 0.5463 GB, free: 70.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.6542, allocations: 461.2 kB / 0.5468 GB, free: 69.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.6543, allocations: 32 kB / 0.5468 GB, free: 69.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.6544, allocations: 365.8 kB / 0.5471 GB, free: 69.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008879/0.6553, allocations: 0.6871 MB / 0.5478 GB, free: 68.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009898/0.6563, allocations: 1.056 MB / 0.5488 GB, free: 67.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.6583, allocations: 1.818 MB / 0.5506 GB, free: 65.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.6583, allocations: 4 kB / 0.5506 GB, free: 65.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003624/0.6619, allocations: 2.525 MB / 0.5531 GB, free: 62.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.6619, allocations: 8 kB / 0.5531 GB, free: 62.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.662, allocations: 12.25 kB / 0.5531 GB, free: 62.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.6633, allocations: 0.6524 MB / 0.5537 GB, free: 62.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009703/0.6643, allocations: 307.5 kB / 0.554 GB, free: 61.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005686/0.67, allocations: 6.468 MB / 0.5604 GB, free: 55.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.6712, allocations: 103.9 kB / 0.5605 GB, free: 55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.6714, allocations: 59.98 kB / 0.5605 GB, free: 54.95 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.000989/0.6723, allocations: 0.634 MB / 0.5611 GB, free: 54.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.6726, allocations: 162 kB / 0.5613 GB, free: 54.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/0.6759, allocations: 2.375 MB / 0.5636 GB, free: 51.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.6759, allocations: 19.92 kB / 0.5636 GB, free: 51.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.6759, allocations: 8.312 kB / 0.5636 GB, free: 51.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.676, allocations: 3.984 kB / 0.5636 GB, free: 51.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006308/0.6823, allocations: 4.893 MB / 0.5684 GB, free: 46.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.6823, allocations: 4 kB / 0.5684 GB, free: 46.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006741/0.683, allocations: 183.8 kB / 0.5686 GB, free: 46.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.6845, allocations: 0.7259 MB / 0.5693 GB, free: 45.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.6846, allocations: 39.97 kB / 0.5693 GB, free: 45.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006588/0.6912, allocations: 8.147 MB / 0.5773 GB, free: 37.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6913, allocations: 11.98 kB / 0.5773 GB, free: 37.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00454/0.6958, allocations: 3.363 MB / 0.5806 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007415/0.6966, allocations: 399 kB / 0.581 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.6968, allocations: 28 kB / 0.581 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/0.6975, allocations: 83.91 kB / 0.5811 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/0.6978, allocations: 105 kB / 0.5812 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-05/0.6979, allocations: 39.98 kB / 0.5812 GB, free: 33.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.699, allocations: 0.944 MB / 0.5821 GB, free: 32.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.699, allocations: 4 kB / 0.5821 GB, free: 32.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001398/0.7004, allocations: 0.5234 MB / 0.5827 GB, free: 31.66 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.001121/0.7015, allocations: 0.598 MB / 0.5832 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003018/0.7046, allocations: 2.392 MB / 0.5856 GB, free: 28.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.7046, allocations: 0 / 0.5856 GB, free: 28.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.7065, allocations: 1.61 MB / 0.5871 GB, free: 26.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.7085, allocations: 405 kB / 0.5875 GB, free: 26.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005418/0.714, allocations: 5.132 MB / 0.5925 GB, free: 21.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009814/0.715, allocations: 1.718 MB / 0.5942 GB, free: 19.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000983/0.7159, allocations: 325.2 kB / 0.5945 GB, free: 19.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.7162, allocations: 107.4 kB / 0.5946 GB, free: 19.22 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.7162, allocations: 0 / 0.5946 GB, free: 19.22 MB / 378.7 MB Notification: Performance of Templates: time 0.03893/0.7552, allocations: 27.6 MB / 0.6216 GB, free: 7.59 MB / 394.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/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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches