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.001099/0.001099, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.00114/0.00114, allocations: 166.9 kB / 25.61 MB, free: 8.91 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 1.024/1.024, allocations: 158.6 MB / 187.5 MB, free: 2.793 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 3.316e-06/3.316e-06, allocations: 4 kB / 251.5 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.834e-05, allocations: 2.312 kB / 251.5 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.008466/0.008485, allocations: 9.153 MB / 260.6 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005274/0.01376, allocations: 3.316 MB / 264 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008396/0.0146, allocations: 55.62 kB / 264 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.01599, allocations: 0.7299 MB / 264.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.01763, allocations: 0.8888 MB / 265.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007383/0.01837, allocations: 459 kB / 266.1 MB, free: 8.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001632/0.02, allocations: 2.501 MB / 268.6 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009384/0.02094, allocations: 0.9973 MB / 269.6 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.0227, allocations: 1.782 MB / 271.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.02381, allocations: 1.251 MB / 272.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002453/0.02405, allocations: 272 kB / 272.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.02454, allocations: 399.7 kB / 273.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004683/0.02501, allocations: 0.8023 MB / 274.1 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006262/0.02564, allocations: 0.8652 MB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.02733, allocations: 2.056 MB / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.02733, allocations: 0 / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.02733, allocations: 0 / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.02735, allocations: 0 / 277 MB, free: 13.58 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.002968/0.03032, allocations: 2.695 MB / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.03037, allocations: 15.98 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005358/0.0309, allocations: 439.2 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.03199, allocations: 1.138 MB / 281.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-05/0.03207, allocations: 143.7 kB / 281.4 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.03226, allocations: 195.9 kB / 281.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.0337, allocations: 1.421 MB / 283 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.03374, allocations: 7.938 kB / 283 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.03385, allocations: 72 kB / 283.1 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.479e-05/0.03393, allocations: 95.67 kB / 283.2 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/0.0347, allocations: 0.5509 MB / 283.7 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005551/0.04025, allocations: 5.917 MB / 289.7 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.04088, allocations: 0.5708 MB / 290.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.04141, allocations: 441.3 kB / 290.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.04152, allocations: 56.83 kB / 290.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004125/0.04194, allocations: 0.4937 MB / 291.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 2.094e-06/0.04194, allocations: 0 / 291.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.00494/0.04688, allocations: 3.118 MB / 294.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.04695, allocations: 200.9 kB / 294.5 MB, free: 11.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008347/0.04779, allocations: 1.098 MB / 295.6 MB, free: 10.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.04785, allocations: 45.7 kB / 295.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005819/0.04843, allocations: 1.034 MB / 296.7 MB, free: 9.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.04868, allocations: 448.2 kB / 297.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.04894, allocations: 261.1 kB / 297.4 MB, free: 8.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.0491, allocations: 0.5432 MB / 297.9 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.04932, allocations: 167.8 kB / 298.1 MB, free: 7.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.0498, allocations: 0.7758 MB / 298.9 MB, free: 6.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.05084, allocations: 0.9473 MB / 299.8 MB, free: 5.738 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.05084, allocations: 4 kB / 299.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001363/0.05221, allocations: 1.209 MB / 301 MB, free: 4.496 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.05223, allocations: 11.94 kB / 301 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.05224, allocations: 12 kB / 301.1 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/0.05279, allocations: 282.3 kB / 301.3 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/0.05329, allocations: 263.6 kB / 301.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/0.05688, allocations: 6.512 MB / 308.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.05731, allocations: 56.11 kB / 308.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.05737, allocations: 47.98 kB / 308.2 MB, free: 12.97 MB / 298.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.0003356/0.0577, allocations: 244.2 kB / 308.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.0579, allocations: 195 kB / 308.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.05911, allocations: 1.038 MB / 309.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.05912, allocations: 12 kB / 309.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.05912, allocations: 8 kB / 309.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.05913, allocations: 3.984 kB / 309.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.06229, allocations: 2.971 MB / 312.7 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.06229, allocations: 4 kB / 312.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.06265, allocations: 175.7 kB / 312.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006092/0.06326, allocations: 322.4 kB / 313.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.06332, allocations: 39.97 kB / 313.2 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004113/0.06743, allocations: 8.199 MB / 321.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.06743, allocations: 4 kB / 321.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.069, allocations: 1.547 MB / 322.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.06931, allocations: 238.9 kB / 323.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.782e-05/0.06941, allocations: 31.98 kB / 323.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.06974, allocations: 39.98 kB / 323.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.06987, allocations: 108.7 kB / 323.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.06991, allocations: 27.98 kB / 323.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004681/0.07038, allocations: 0.608 MB / 324 MB, free: 12.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07038, allocations: 0 / 324 MB, free: 12.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001082/0.07146, allocations: 439.9 kB / 324.4 MB, free: 12 MB / 314.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.0009651/0.07242, allocations: 489.9 kB / 324.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.07397, allocations: 1.391 MB / 326.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/0.07397, allocations: 8 kB / 326.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.07503, allocations: 1.207 MB / 327.5 MB, free: 8.816 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009639/0.076, allocations: 372.3 kB / 327.9 MB, free: 8.453 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.08069, allocations: 3.565 MB / 331.4 MB, free: 4.777 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.08115, allocations: 0.5166 MB / 331.9 MB, free: 4.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004366/0.08158, allocations: 188 kB / 332.1 MB, free: 4.043 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/0.08219, allocations: 414 kB / 332.5 MB, free: 3.637 MB / 314.7 MB Notification: Performance of SimCode: time 1.452e-06/0.08219, allocations: 7.938 kB / 332.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of Templates: time 0.1546/0.2367, allocations: 24.52 MB / 357.1 MB, free: 94.75 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 -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.777765058912337]