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.001061/0.001061, allocations: 78.19 kB / 21.42 MB, free: 3.074 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.00113/0.00113, allocations: 149.9 kB / 24.81 MB, free: 8.926 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.934/0.934, allocations: 173.4 MB / 201.5 MB, free: 8.281 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.613e-06/1.613e-06, allocations: 0 / 268.4 MB, free: 9.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.352e-05, allocations: 5.406 kB / 268.4 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01146/0.01148, allocations: 9.177 MB / 277.6 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004845/0.01632, allocations: 3.386 MB / 281 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008339/0.01716, allocations: 63.56 kB / 281.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.0184, allocations: 0.7182 MB / 281.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.01996, allocations: 0.881 MB / 282.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000878/0.02084, allocations: 482.9 kB / 283.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002831/0.02367, allocations: 2.493 MB / 285.6 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.02483, allocations: 1.021 MB / 286.6 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.02681, allocations: 1.789 MB / 288.4 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.02825, allocations: 1.251 MB / 289.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004172/0.02867, allocations: 268 kB / 289.9 MB, free: 4.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006515/0.02932, allocations: 399.7 kB / 290.3 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005806/0.0299, allocations: 0.8101 MB / 291.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.03095, allocations: 0.8614 MB / 292 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.03296, allocations: 2.06 MB / 294.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.03296, allocations: 0 / 294.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.03296, allocations: 0 / 294.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.585e-05/0.03299, allocations: 0 / 294.1 MB, free: 15.99 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.003129/0.03612, allocations: 2.703 MB / 296.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.03615, allocations: 8.031 kB / 296.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006317/0.03678, allocations: 439.2 kB / 297.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.03849, allocations: 1.231 MB / 298.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.354e-05/0.03859, allocations: 143.7 kB / 298.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.03881, allocations: 191.9 kB / 298.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.04056, allocations: 1.41 MB / 300.2 MB, free: 9.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.04061, allocations: 15.88 kB / 300.2 MB, free: 9.711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.04073, allocations: 80 kB / 300.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.513e-05/0.04082, allocations: 95.67 kB / 300.4 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009557/0.04177, allocations: 0.5548 MB / 300.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006688/0.04846, allocations: 5.913 MB / 306.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/0.04921, allocations: 0.5685 MB / 307.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006664/0.04987, allocations: 441.3 kB / 307.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.04999, allocations: 52.91 kB / 307.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005082/0.0505, allocations: 0.49 MB / 308.4 MB, free: 1.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 2.204e-06/0.0505, allocations: 0 / 308.4 MB, free: 1.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.005398/0.0559, allocations: 3.116 MB / 311.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.05597, allocations: 167.2 kB / 311.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.05756, allocations: 1.094 MB / 312.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.05762, allocations: 49.7 kB / 312.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006219/0.05824, allocations: 1.034 MB / 313.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.05853, allocations: 448.2 kB / 314.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.05885, allocations: 261 kB / 314.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.05903, allocations: 0.5432 MB / 315.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003283/0.06231, allocations: 167.9 kB / 315.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.06293, allocations: 0.78 MB / 316 MB, free: 9.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009549/0.06388, allocations: 0.9242 MB / 316.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.06389, allocations: 4 kB / 316.9 MB, free: 8.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004749/0.06864, allocations: 1.209 MB / 318.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.06866, allocations: 11.94 kB / 318.2 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.06867, allocations: 8 kB / 318.2 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006851/0.06935, allocations: 286 kB / 318.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.07003, allocations: 271.5 kB / 318.7 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007064/0.0771, allocations: 6.509 MB / 325.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00353/0.08063, allocations: 55.98 kB / 325.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.0807, allocations: 52.08 kB / 325.3 MB, free: 15.36 MB / 314.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.0003397/0.08104, allocations: 242.1 kB / 325.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.08127, allocations: 195 kB / 325.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.08304, allocations: 1.049 MB / 326.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.08305, allocations: 12 kB / 326.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.08305, allocations: 4 kB / 326.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.08306, allocations: 7.969 kB / 326.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005392/0.08846, allocations: 2.844 MB / 329.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.08846, allocations: 7.938 kB / 329.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.08883, allocations: 164.2 kB / 329.8 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006072/0.08944, allocations: 337.9 kB / 330.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/0.0895, allocations: 35.98 kB / 330.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/0.09324, allocations: 8.182 MB / 338.4 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.09324, allocations: 7.938 kB / 338.4 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.09476, allocations: 1.518 MB / 339.9 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.09507, allocations: 242.9 kB / 340.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.09517, allocations: 32 kB / 340.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.09549, allocations: 43.97 kB / 340.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.09564, allocations: 100.7 kB / 340.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.09569, allocations: 35.98 kB / 340.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005127/0.0962, allocations: 0.6158 MB / 341 MB, free: 14.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0962, allocations: 0 / 341 MB, free: 14.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001077/0.09728, allocations: 439.9 kB / 341.4 MB, free: 14.55 MB / 330.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.001355/0.09864, allocations: 478.7 kB / 341.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.1003, allocations: 1.385 MB / 343.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1003, allocations: 0 / 343.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000912/0.1012, allocations: 1.206 MB / 344.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008668/0.1021, allocations: 372.2 kB / 344.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.1062, allocations: 3.553 MB / 348.4 MB, free: 7.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.1066, allocations: 0.5166 MB / 348.9 MB, free: 6.938 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004189/0.107, allocations: 180 kB / 349.1 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005705/0.1076, allocations: 418 kB / 349.5 MB, free: 6.348 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1076, allocations: 4 kB / 349.5 MB, free: 6.344 MB / 330.7 MB Notification: Performance of Templates: time 0.1352/0.2427, allocations: 24.53 MB / 374 MB, free: 75.9 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 -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: 6.023858451284468]