Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 143.4 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8775/0.8775, allocations: 173.4 MB / 201.5 MB, free: 8.27 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 268.5 MB, free: 9.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.318e-05, allocations: 6.25 kB / 268.5 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.00847/0.008493, allocations: 9.242 MB / 277.8 MB, free: 476 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005622/0.01412, allocations: 3.496 MB / 281.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.01525, allocations: 59.62 kB / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.01678, allocations: 0.7377 MB / 282.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.01864, allocations: 0.8694 MB / 282.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008878/0.01953, allocations: 486.8 kB / 283.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.02184, allocations: 2.497 MB / 285.9 MB, free: 8.309 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.02295, allocations: 1.045 MB / 287 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002387/0.02534, allocations: 1.778 MB / 288.7 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.02689, allocations: 1.228 MB / 290 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004836/0.02737, allocations: 272 kB / 290.2 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006094/0.02798, allocations: 403.7 kB / 290.6 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005039/0.02848, allocations: 0.8063 MB / 291.4 MB, free: 2.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009053/0.02939, allocations: 0.8652 MB / 292.3 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.03155, allocations: 2.056 MB / 294.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.03156, allocations: 3.938 kB / 294.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.03156, allocations: 0 / 294.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.92e-05/0.03164, allocations: 0 / 294.3 MB, free: 15.78 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.00327/0.03491, allocations: 2.455 MB / 296.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.03495, allocations: 8.031 kB / 296.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005575/0.03551, allocations: 356.5 kB / 297.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.03672, allocations: 0.9632 MB / 298.1 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.0368, allocations: 147.7 kB / 298.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.03698, allocations: 191.9 kB / 298.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.03845, allocations: 1.436 MB / 299.9 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.03849, allocations: 7.984 kB / 299.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.0386, allocations: 76 kB / 300 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.99e-05/0.03868, allocations: 95.67 kB / 300.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007773/0.03945, allocations: 0.5522 MB / 300.6 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/0.04442, allocations: 4.752 MB / 305.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.04503, allocations: 0.5841 MB / 306 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.04553, allocations: 414.4 kB / 306.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.04564, allocations: 36.98 kB / 306.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004011/0.04604, allocations: 488.8 kB / 306.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 4.118e-06/0.04604, allocations: 3.984 kB / 306.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.005278/0.05132, allocations: 3.127 MB / 310 MB, free: 15.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.05138, allocations: 167.2 kB / 310.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007212/0.0521, allocations: 0.9967 MB / 311.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.614e-05/0.05216, allocations: 49.7 kB / 311.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.05255, allocations: 0.7876 MB / 312 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.05277, allocations: 444.2 kB / 312.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.053, allocations: 235.4 kB / 312.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.05309, allocations: 361.8 kB / 313 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.05331, allocations: 166.7 kB / 313.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.05368, allocations: 0.6045 MB / 313.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.05434, allocations: 0.7846 MB / 314.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.05435, allocations: 4 kB / 314.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001197/0.05555, allocations: 0.9838 MB / 315.6 MB, free: 9.703 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.05557, allocations: 8 kB / 315.6 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.05558, allocations: 15.94 kB / 315.6 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005429/0.05612, allocations: 275.3 kB / 315.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.05671, allocations: 299.5 kB / 316.1 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.05987, allocations: 4.777 MB / 320.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.06051, allocations: 63.88 kB / 321 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.06057, allocations: 44 kB / 321 MB, free: 3.938 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0004158/0.06098, allocations: 200.3 kB / 321.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.06116, allocations: 131.8 kB / 321.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.06227, allocations: 0.8822 MB / 322.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.06228, allocations: 12 kB / 322.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.06229, allocations: 8 kB / 322.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.0623, allocations: 7.969 kB / 322.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.0654, allocations: 2.374 MB / 324.6 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.06541, allocations: 4 kB / 324.6 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.06581, allocations: 183.7 kB / 324.8 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006871/0.0665, allocations: 363.2 kB / 325.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.06656, allocations: 35.98 kB / 325.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003623/0.07019, allocations: 5.936 MB / 331.1 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.07019, allocations: 0 / 331.1 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.07177, allocations: 1.295 MB / 332.4 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.07213, allocations: 187 kB / 332.6 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.07224, allocations: 35.97 kB / 332.7 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.07256, allocations: 39.98 kB / 332.7 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.07272, allocations: 104.7 kB / 332.8 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.07276, allocations: 31.98 kB / 332.8 MB, free: 7.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004061/0.07317, allocations: 465.9 kB / 333.3 MB, free: 7.066 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.07317, allocations: 0 / 333.3 MB, free: 7.066 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001098/0.07427, allocations: 439.9 kB / 333.7 MB, free: 6.637 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (105): * Single equations (assignments): 98 * 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.001195/0.07546, allocations: 0.5936 MB / 334.3 MB, free: 6.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.07676, allocations: 1.164 MB / 335.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.597e-05/0.07678, allocations: 20.44 kB / 335.5 MB, free: 5.051 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008115/0.07759, allocations: 0.942 MB / 336.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.07843, allocations: 361.4 kB / 336.8 MB, free: 3.707 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.08268, allocations: 3.409 MB / 340.2 MB, free: 212 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.08311, allocations: 473.1 kB / 340.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004502/0.08356, allocations: 180 kB / 340.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005737/0.08413, allocations: 369 kB / 341.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.08413, allocations: 0 / 341.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of Templates: time 0.1302/0.2143, allocations: 24.57 MB / 365.8 MB, free: 79.4 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_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.699860569089651]