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.001138/0.001138, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001131/0.001131, allocations: 169.1 kB / 25.7 MB, free: 8.453 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.9515/0.9515, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.383e-06/1.383e-06, allocations: 0 / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.3e-05, allocations: 6.25 kB / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.007554/0.007567, allocations: 9.215 MB / 260.8 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004965/0.01253, allocations: 3.428 MB / 264.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006366/0.01317, allocations: 55.62 kB / 264.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.01427, allocations: 0.7458 MB / 265 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.01555, allocations: 0.881 MB / 265.9 MB, free: 8.809 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.01622, allocations: 451.1 kB / 266.4 MB, free: 8.367 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.01819, allocations: 2.501 MB / 268.9 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009292/0.01911, allocations: 1.025 MB / 269.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.02076, allocations: 1.77 MB / 271.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.02188, allocations: 1.235 MB / 272.9 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.02211, allocations: 272 kB / 273.2 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.02256, allocations: 399.8 kB / 273.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004774/0.02304, allocations: 0.8062 MB / 274.3 MB, free: 300 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006052/0.02364, allocations: 0.8613 MB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.02522, allocations: 2.056 MB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.02522, allocations: 0 / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.02523, allocations: 4 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.02524, allocations: 0 / 277.3 MB, free: 13.36 MB / 266.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.002263/0.0275, allocations: 2.454 MB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.02753, allocations: 15.98 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.02802, allocations: 348.6 kB / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009864/0.029, allocations: 0.8892 MB / 281 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/0.02908, allocations: 143.7 kB / 281.1 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.02925, allocations: 191.9 kB / 281.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.03062, allocations: 1.444 MB / 282.7 MB, free: 7.754 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.03065, allocations: 4 kB / 282.7 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.903e-05/0.03075, allocations: 75.98 kB / 282.8 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-05/0.03082, allocations: 95.67 kB / 282.9 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/0.03159, allocations: 0.5523 MB / 283.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004506/0.0361, allocations: 4.76 MB / 288.2 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.03668, allocations: 0.5744 MB / 288.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.03718, allocations: 414.5 kB / 289.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.82e-05/0.03728, allocations: 44.98 kB / 289.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003923/0.03767, allocations: 493.5 kB / 289.7 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 1.904e-06/0.03767, allocations: 0 / 289.7 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.004727/0.0424, allocations: 3.129 MB / 292.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.04247, allocations: 196.9 kB / 293 MB, free: 13.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00071/0.04318, allocations: 0.9967 MB / 294 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.04323, allocations: 49.64 kB / 294.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.04357, allocations: 0.7876 MB / 294.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.04378, allocations: 440.2 kB / 295.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.04401, allocations: 235.4 kB / 295.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.0441, allocations: 361.8 kB / 295.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.04432, allocations: 162.8 kB / 296.1 MB, free: 10.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.0447, allocations: 0.6132 MB / 296.7 MB, free: 9.238 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.04536, allocations: 0.8048 MB / 297.5 MB, free: 8.293 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.04537, allocations: 7.938 kB / 297.5 MB, free: 8.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001183/0.04655, allocations: 0.9759 MB / 298.5 MB, free: 7.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.04657, allocations: 12 kB / 298.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.04658, allocations: 11.94 kB / 298.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005743/0.04715, allocations: 287.3 kB / 298.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/0.04775, allocations: 287.6 kB / 299 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/0.05063, allocations: 4.775 MB / 303.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.05104, allocations: 67.94 kB / 303.9 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.05109, allocations: 40 kB / 303.9 MB, free: 1.531 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (150): * Single equations (assignments): 145 * 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.0002923/0.05139, allocations: 204.2 kB / 304.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.05154, allocations: 131.9 kB / 304.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.0526, allocations: 0.8766 MB / 305.1 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.05261, allocations: 12 kB / 305.1 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.05262, allocations: 4 kB / 305.1 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.05262, allocations: 7.984 kB / 305.1 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.05526, allocations: 2.473 MB / 307.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.05527, allocations: 8.031 kB / 307.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.05567, allocations: 179.8 kB / 307.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006378/0.05631, allocations: 354.8 kB / 308.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.05636, allocations: 31.98 kB / 308.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/0.05943, allocations: 5.942 MB / 314.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.05943, allocations: 4 kB / 314.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.06078, allocations: 1.303 MB / 315.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.06103, allocations: 183 kB / 315.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.06114, allocations: 35.98 kB / 315.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.06144, allocations: 43.98 kB / 315.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.06159, allocations: 112.7 kB / 315.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.06163, allocations: 24 kB / 315.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000382/0.06201, allocations: 477.8 kB / 316.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06201, allocations: 0 / 316.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009475/0.06296, allocations: 443.9 kB / 316.7 MB, free: 4.098 MB / 298.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/0.0641, allocations: 0.5826 MB / 317.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.06523, allocations: 1.155 MB / 318.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/0.06525, allocations: 12.5 kB / 318.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007699/0.06602, allocations: 0.943 MB / 319.4 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008044/0.06682, allocations: 364.3 kB / 319.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.07044, allocations: 3.419 MB / 323.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.07081, allocations: 473.1 kB / 323.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004028/0.07121, allocations: 188 kB / 323.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/0.07179, allocations: 365.1 kB / 324.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.07179, allocations: 4 kB / 324.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of Templates: time 0.02786/0.09965, allocations: 24.59 MB / 348.8 MB, free: 3.789 MB / 330.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.441759205888957]