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.00196/0.00196, allocations: 103.5 kB / 20.43 MB, free: 1.199 MB / 14.72 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.00233/0.00233, allocations: 185.9 kB / 23.7 MB, free: 4.438 MB / 14.72 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 1.523/1.523, allocations: 225.7 MB / 252.5 MB, free: 12.88 MB / 206.1 MB " [Timeout remaining time 178] 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.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.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.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 43.94 kB / 370.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2898, allocations: 52.2 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01242/0.3022, allocations: 8.406 MB / 431.5 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007109/0.3094, allocations: 3.272 MB / 434.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.3109, allocations: 63.56 kB / 434.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.3134, allocations: 0.7068 MB / 435.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.317, allocations: 0.8507 MB / 436.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.3188, allocations: 479.1 kB / 436.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003975/0.3227, allocations: 2.411 MB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.3245, allocations: 1.006 MB / 440.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.3264, allocations: 1.125 MB / 441.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.3286, allocations: 1.343 MB / 442.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004813/0.3291, allocations: 280 kB / 443 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009891/0.3301, allocations: 399.8 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.3311, allocations: 0.818 MB / 444.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.3326, allocations: 1.031 MB / 445.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.3377, allocations: 3.77 MB / 449 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3377, allocations: 0 / 449 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3377, allocations: 0 / 449 MB, free: 4.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.559e-05/0.3378, allocations: 0 / 449 MB, free: 4.418 MB / 350.1 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.006054/0.3438, allocations: 2.656 MB / 451.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3439, allocations: 8.031 kB / 451.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007549/0.3446, allocations: 283.3 kB / 452 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.3475, allocations: 1.333 MB / 453.3 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.3476, allocations: 139.8 kB / 453.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/0.348, allocations: 187.9 kB / 453.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004549/0.3525, allocations: 2.54 MB / 456.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.808e-05/0.3526, allocations: 7.953 kB / 456.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.3527, allocations: 79.98 kB / 456.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.3529, allocations: 99.66 kB / 456.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003603/0.3565, allocations: 1.986 MB / 458.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.3686, allocations: 6.32 MB / 464.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.3706, allocations: 1.06 MB / 465.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.3722, allocations: 0.8148 MB / 466.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.3724, allocations: 44.97 kB / 466.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.3736, allocations: 0.7831 MB / 467.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.236e-06/0.3736, allocations: 4 kB / 467.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01666/0.3903, allocations: 6.815 MB / 474.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.3904, allocations: 167.2 kB / 474.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/0.3932, allocations: 1.277 MB / 475.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002076/0.3934, allocations: 49.64 kB / 475.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001462/0.3949, allocations: 0.9497 MB / 476.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/0.3954, allocations: 452.2 kB / 477 MB, free: 7.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004986/0.3959, allocations: 243.5 kB / 477.3 MB, free: 7.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.3962, allocations: 361.9 kB / 477.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.3974, allocations: 0.6403 MB / 478.3 MB, free: 6.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.3991, allocations: 1.105 MB / 479.4 MB, free: 5.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/0.4019, allocations: 1.707 MB / 481.1 MB, free: 3.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.4019, allocations: 4 kB / 481.1 MB, free: 3.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00458/0.4065, allocations: 2.257 MB / 483.4 MB, free: 1.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.4065, allocations: 8 kB / 483.4 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.4065, allocations: 8 kB / 483.4 MB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.4079, allocations: 0.4923 MB / 483.9 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.4091, allocations: 287.6 kB / 484.1 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00842/0.4175, allocations: 6.772 MB / 490.9 MB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.4187, allocations: 91.86 kB / 491 MB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.4188, allocations: 52 kB / 491.1 MB, free: 9.223 MB / 398.1 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.001132/0.4199, allocations: 0.634 MB / 491.7 MB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.4202, allocations: 147.1 kB / 491.8 MB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/0.4242, allocations: 2.07 MB / 493.9 MB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.4242, allocations: 15.94 kB / 493.9 MB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4242, allocations: 7.984 kB / 493.9 MB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.4242, allocations: 3.984 kB / 493.9 MB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007542/0.4318, allocations: 3.892 MB / 497.8 MB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.4318, allocations: 7.938 kB / 497.8 MB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/0.4326, allocations: 187.8 kB / 498 MB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/0.4341, allocations: 0.5274 MB / 498.5 MB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/0.4342, allocations: 39.98 kB / 498.6 MB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009114/0.4433, allocations: 8.185 MB / 0.4949 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4433, allocations: 4 kB / 0.4949 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005207/0.4485, allocations: 3.005 MB / 0.4978 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009021/0.4494, allocations: 278.9 kB / 0.4981 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.4496, allocations: 31.98 kB / 0.4981 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007914/0.4504, allocations: 67.94 kB / 0.4982 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.4506, allocations: 108.7 kB / 0.4983 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-05/0.4507, allocations: 36 kB / 0.4983 GB, free: 5.375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001305/0.452, allocations: 0.858 MB / 0.4992 GB, free: 4.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.452, allocations: 0 / 0.4992 GB, free: 4.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001578/0.4536, allocations: 459.9 kB / 0.4996 GB, free: 4.062 MB / 414.1 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.001934/0.4555, allocations: 0.5181 MB / 0.5001 GB, free: 3.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003818/0.4593, allocations: 2.034 MB / 0.5021 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.4593, allocations: 0 / 0.5021 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.4617, allocations: 1.392 MB / 0.5034 GB, free: 196 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.4636, allocations: 353.7 kB / 0.5038 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007398/0.471, allocations: 4.292 MB / 0.508 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/0.4724, allocations: 1.128 MB / 0.5091 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009648/0.4734, allocations: 303.8 kB / 0.5094 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.4737, allocations: 103.4 kB / 0.5095 GB, free: 9.918 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4737, allocations: 0 / 0.5095 GB, free: 9.918 MB / 430.1 MB Notification: Performance of Templates: time 0.0469/0.5206, allocations: 26 MB / 0.5349 GB, free: 292 kB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.56518622301519]