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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009223/0.0009223, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008552/0.0008552, allocations: 156.4 kB / 25.44 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8355/0.8355, allocations: 158.6 MB / 187.2 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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=200000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 299.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.583e-05, allocations: 2.281 kB / 299.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.1341/0.1342, allocations: 8.361 MB / 308.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.1385, allocations: 3.216 MB / 311.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005505/0.1391, allocations: 57.53 kB / 311.4 MB, free: 9.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.1403, allocations: 0.7214 MB / 312.1 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.1416, allocations: 0.8828 MB / 313 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.1423, allocations: 453.1 kB / 313.4 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.144, allocations: 2.506 MB / 315.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009808/0.145, allocations: 0.9862 MB / 316.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.1465, allocations: 1.618 MB / 318.5 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.1482, allocations: 1.207 MB / 319.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004915/0.1487, allocations: 280.9 kB / 320 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005957/0.1493, allocations: 413.6 kB / 320.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004998/0.1498, allocations: 0.8266 MB / 321.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007892/0.1506, allocations: 0.8797 MB / 322.1 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.1529, allocations: 3.79 MB / 325.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1529, allocations: 0 / 325.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1529, allocations: 0 / 325.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.485e-05/0.1529, allocations: 1.188 kB / 325.9 MB, free: 1.594 MB / 282.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.003066/0.156, allocations: 2.618 MB / 328.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.156, allocations: 12.55 kB / 328.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/0.1568, allocations: 280.3 kB / 328.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.1582, allocations: 1.246 MB / 330 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.1583, allocations: 144.5 kB / 330.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.1585, allocations: 195.9 kB / 330.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.1612, allocations: 2.538 MB / 332.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/0.1612, allocations: 10.28 kB / 332.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.1614, allocations: 76.5 kB / 333 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-05/0.1615, allocations: 99.98 kB / 333.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.1637, allocations: 1.978 MB / 335.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006486/0.1702, allocations: 6.327 MB / 341.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.1713, allocations: 1.06 MB / 342.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008995/0.1722, allocations: 0.8187 MB / 343.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.1723, allocations: 44.95 kB / 343.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007086/0.173, allocations: 0.7956 MB / 344.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 1.914e-06/0.173, allocations: 0 / 344.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.008651/0.1816, allocations: 7.014 MB / 351.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.1817, allocations: 198.4 kB / 351.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.183, allocations: 1.269 MB / 352.6 MB, free: 9.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.1831, allocations: 45.7 kB / 352.6 MB, free: 9.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.1835, allocations: 0.9652 MB / 353.6 MB, free: 8.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.1837, allocations: 436.2 kB / 354 MB, free: 7.648 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.184, allocations: 243.5 kB / 354.3 MB, free: 7.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1841, allocations: 365.9 kB / 354.6 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/0.1848, allocations: 0.6286 MB / 355.3 MB, free: 6.414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008235/0.1856, allocations: 1.108 MB / 356.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.1871, allocations: 1.712 MB / 358.1 MB, free: 3.293 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1871, allocations: 0 / 358.1 MB, free: 3.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002593/0.1897, allocations: 2.25 MB / 360.3 MB, free: 1.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1897, allocations: 11.94 kB / 360.3 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1897, allocations: 8 kB / 360.3 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006667/0.1904, allocations: 0.4943 MB / 360.8 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.1909, allocations: 295.5 kB / 361.1 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004513/0.1954, allocations: 6.745 MB / 367.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.1959, allocations: 99.92 kB / 368 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/0.196, allocations: 59.98 kB / 368 MB, free: 9 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006712/0.1967, allocations: 0.6325 MB / 368.7 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.1968, allocations: 151 kB / 368.8 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.1989, allocations: 2.039 MB / 370.9 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.1989, allocations: 12 kB / 370.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.199, allocations: 4 kB / 370.9 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.199, allocations: 7.969 kB / 370.9 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/0.2032, allocations: 3.967 MB / 374.8 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2032, allocations: 4 kB / 374.8 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.2036, allocations: 187.7 kB / 375 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007262/0.2043, allocations: 0.5431 MB / 375.6 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.2044, allocations: 35.97 kB / 375.6 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005119/0.2095, allocations: 8.167 MB / 383.8 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2095, allocations: 4 kB / 383.8 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.2123, allocations: 3.001 MB / 386.8 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.2127, allocations: 278.9 kB / 387.1 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.2128, allocations: 35.98 kB / 387.1 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.2131, allocations: 67.94 kB / 387.2 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.2133, allocations: 108.8 kB / 387.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.2134, allocations: 39.98 kB / 387.3 MB, free: 5.098 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001043/0.2144, allocations: 0.8581 MB / 388.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2144, allocations: 0 / 388.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001025/0.2154, allocations: 451.9 kB / 388.6 MB, free: 3.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007979/0.2162, allocations: 0.5207 MB / 389.1 MB, free: 3.277 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.2182, allocations: 2.034 MB / 391.2 MB, free: 1.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2182, allocations: 0 / 391.2 MB, free: 1.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.2194, allocations: 1.4 MB / 392.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.2203, allocations: 360.1 kB / 392.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.2247, allocations: 4.146 MB / 397.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007595/0.2255, allocations: 1.114 MB / 398.2 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.2257, allocations: 108.5 kB / 398.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2257, allocations: 0 / 398.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of Templates: time 0.04732/0.273, allocations: 73.35 MB / 471.6 MB, free: 396 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.473998284898698]