Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.0008874/0.0008874, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004297/0.004297, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8598/0.8598, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_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_4.1.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.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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 3.938 kB / 325.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.613e-05, allocations: 12.75 kB / 325.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.007614/0.00764, allocations: 8.464 MB / 334.3 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004889/0.01253, allocations: 3.443 MB / 337.8 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005962/0.01313, allocations: 59.62 kB / 337.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.01427, allocations: 0.726 MB / 338.6 MB, free: 2.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.01561, allocations: 0.9199 MB / 339.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.01625, allocations: 462.9 kB / 339.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.01806, allocations: 2.514 MB / 342.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008773/0.01894, allocations: 1.01 MB / 343.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.02023, allocations: 1.633 MB / 345.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.02127, allocations: 1.208 MB / 346.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.02149, allocations: 280 kB / 346.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000488/0.02197, allocations: 427.7 kB / 347 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000636/0.02261, allocations: 0.8257 MB / 347.8 MB, free: 9.191 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.02317, allocations: 0.8808 MB / 348.7 MB, free: 8.309 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.02556, allocations: 3.797 MB / 352.5 MB, free: 4.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.02556, allocations: 0 / 352.5 MB, free: 4.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02556, allocations: 4 kB / 352.5 MB, free: 4.496 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.02558, allocations: 0 / 352.5 MB, free: 4.496 MB / 314.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.003143/0.02873, allocations: 2.648 MB / 355.1 MB, free: 1.805 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.02877, allocations: 8.031 kB / 355.1 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004839/0.02925, allocations: 291.3 kB / 355.4 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.03067, allocations: 1.329 MB / 356.8 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.03074, allocations: 139.7 kB / 356.9 MB, free: 0 / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.03095, allocations: 191.9 kB / 357.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.03342, allocations: 2.54 MB / 359.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.03346, allocations: 7.938 kB / 359.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.03358, allocations: 76 kB / 359.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.098e-05/0.03366, allocations: 99.67 kB / 359.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.0358, allocations: 1.99 MB / 361.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006288/0.04209, allocations: 6.323 MB / 368.1 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.04323, allocations: 1.065 MB / 369.2 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.04427, allocations: 0.8264 MB / 370 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.04443, allocations: 48.97 kB / 370.1 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007099/0.04514, allocations: 0.7792 MB / 370.8 MB, free: 1.758 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 3.286e-06/0.04514, allocations: 0 / 370.8 MB, free: 1.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.009021/0.05416, allocations: 6.811 MB / 377.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.05426, allocations: 175.1 kB / 377.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.05551, allocations: 1.282 MB / 379.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.05556, allocations: 45.7 kB / 379.1 MB, free: 9.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/0.05614, allocations: 0.9731 MB / 380.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.05636, allocations: 436.2 kB / 380.5 MB, free: 7.934 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.05661, allocations: 247.5 kB / 380.8 MB, free: 7.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.05672, allocations: 361.9 kB / 381.1 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006432/0.05736, allocations: 0.6364 MB / 381.8 MB, free: 6.691 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008553/0.05821, allocations: 1.106 MB / 382.9 MB, free: 5.418 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.05992, allocations: 1.707 MB / 384.6 MB, free: 3.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.05993, allocations: 4 kB / 384.6 MB, free: 3.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002334/0.06226, allocations: 2.254 MB / 386.8 MB, free: 1.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.06228, allocations: 8 kB / 386.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.06229, allocations: 8.25 kB / 386.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006855/0.06298, allocations: 0.4918 MB / 387.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005854/0.06357, allocations: 299.5 kB / 387.6 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004452/0.06802, allocations: 6.742 MB / 394.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/0.0686, allocations: 95.92 kB / 394.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.06866, allocations: 55.98 kB / 394.5 MB, free: 9.289 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0008377/0.0695, allocations: 0.6418 MB / 395.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.06965, allocations: 151 kB / 395.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.07181, allocations: 2.07 MB / 397.4 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.07182, allocations: 12 kB / 397.4 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.07183, allocations: 8 kB / 397.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.07184, allocations: 11.91 kB / 397.4 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.07597, allocations: 3.869 MB / 401.3 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.07598, allocations: 12.05 kB / 401.3 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.07639, allocations: 191.7 kB / 401.5 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007408/0.07713, allocations: 0.5232 MB / 402 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.07718, allocations: 35.97 kB / 402 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004852/0.08203, allocations: 8.185 MB / 410.2 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.08204, allocations: 4 kB / 410.2 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.0851, allocations: 3.001 MB / 413.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.08553, allocations: 282.9 kB / 413.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.08563, allocations: 35.98 kB / 413.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.08601, allocations: 71.94 kB / 413.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.08617, allocations: 104.6 kB / 413.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/0.08621, allocations: 39.98 kB / 413.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008264/0.08704, allocations: 0.8701 MB / 414.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08704, allocations: 0 / 414.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00107/0.08811, allocations: 451.9 kB / 415.1 MB, free: 4.129 MB / 378.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%), (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.0009595/0.08907, allocations: 0.5125 MB / 415.6 MB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.09123, allocations: 2.045 MB / 417.6 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.09123, allocations: 0 / 417.6 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.09248, allocations: 1.397 MB / 419 MB, free: 256 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009538/0.09343, allocations: 359.4 kB / 419.4 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.09801, allocations: 4.164 MB / 423.5 MB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008006/0.09881, allocations: 1.109 MB / 424.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.09906, allocations: 120.5 kB / 424.8 MB, free: 10.4 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.09906, allocations: 0 / 424.8 MB, free: 10.4 MB / 394.7 MB Notification: Performance of Templates: time 0.1707/0.2698, allocations: 73.68 MB / 498.4 MB, free: 76.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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: 11.365536202676594]