Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 116.8 kB / 19.18 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 210.6 kB / 22.13 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.83 kB / 374.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1027, allocations: 53.32 MB / 428.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.2086/0.3113, allocations: 9.561 MB / 437.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006229/0.3175, allocations: 3.64 MB / 441.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.3189, allocations: 51.47 kB / 441.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.3208, allocations: 0.7648 MB / 442.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.3235, allocations: 0.8789 MB / 443 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.3247, allocations: 460.8 kB / 443.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002941/0.3276, allocations: 2.426 MB / 445.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.3293, allocations: 1.294 MB / 447.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.3312, allocations: 1.117 MB / 448.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.3336, allocations: 1.429 MB / 449.7 MB, free: 440 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005228/0.3341, allocations: 282.9 kB / 450 MB, free: 436 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.3351, allocations: 424.4 kB / 450.4 MB, free: 392 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008018/0.3359, allocations: 0.8053 MB / 451.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.3377, allocations: 1.285 MB / 452.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005587/0.3433, allocations: 3.764 MB / 456.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3433, allocations: 3.938 kB / 456.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3433, allocations: 3.938 kB / 456.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001013/0.3434, allocations: 7.938 kB / 456.2 MB, free: 13.48 MB / 366.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.006601/0.35, allocations: 2.738 MB / 459 MB, free: 11.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.35, allocations: 8.656 kB / 459 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009685/0.351, allocations: 294.7 kB / 459.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/0.3538, allocations: 1.41 MB / 460.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.3539, allocations: 140.2 kB / 460.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003154/0.3543, allocations: 190.4 kB / 461 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00434/0.3586, allocations: 2.438 MB / 463.5 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.144e-05/0.3587, allocations: 11.34 kB / 463.5 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.3588, allocations: 79.55 kB / 463.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.359, allocations: 95.36 kB / 463.6 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/0.3627, allocations: 1.985 MB / 465.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.376, allocations: 7.334 MB / 473 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.378, allocations: 1.276 MB / 474.2 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.3795, allocations: 0.8235 MB / 475.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.3798, allocations: 125.4 kB / 475.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.3809, allocations: 0.6862 MB / 475.9 MB, free: 492 kB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.316e-06/0.3809, allocations: 0 / 475.9 MB, free: 492 kB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01673/0.3977, allocations: 7.356 MB / 483.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.3978, allocations: 171.2 kB / 483.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/0.4003, allocations: 1.431 MB / 484.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.4004, allocations: 49.7 kB / 484.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009849/0.4014, allocations: 0.9623 MB / 485.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.4019, allocations: 444.3 kB / 486.3 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004226/0.4023, allocations: 243.5 kB / 486.5 MB, free: 5.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4025, allocations: 357.9 kB / 486.8 MB, free: 5.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.4036, allocations: 0.6403 MB / 487.5 MB, free: 4.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.4049, allocations: 1.009 MB / 488.5 MB, free: 3.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.4075, allocations: 1.707 MB / 490.2 MB, free: 1.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.4075, allocations: 4 kB / 490.2 MB, free: 1.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00424/0.4117, allocations: 2.344 MB / 492.6 MB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.4117, allocations: 8 kB / 492.6 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.4118, allocations: 12 kB / 492.6 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.413, allocations: 496.1 kB / 493.1 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.4141, allocations: 295.5 kB / 493.3 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008068/0.4221, allocations: 7.193 MB / 0.4888 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.4237, allocations: 103.7 kB / 0.4889 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.4238, allocations: 55.98 kB / 0.489 GB, free: 6.633 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.001386/0.4252, allocations: 0.6286 MB / 0.4896 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/0.4256, allocations: 163 kB / 0.4897 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.4295, allocations: 2.14 MB / 0.4918 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.4295, allocations: 12 kB / 0.4918 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.4295, allocations: 7.938 kB / 0.4918 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.4295, allocations: 7.969 kB / 0.4918 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008417/0.4379, allocations: 4.457 MB / 0.4962 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.4379, allocations: 4 kB / 0.4962 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/0.4387, allocations: 191.8 kB / 0.4964 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/0.4402, allocations: 0.5313 MB / 0.4969 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.643e-05/0.4403, allocations: 31.98 kB / 0.4969 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009222/0.4495, allocations: 8.741 MB / 0.5055 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4495, allocations: 4 kB / 0.5055 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005278/0.4548, allocations: 3.081 MB / 0.5085 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.4559, allocations: 379.9 kB / 0.5088 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002677/0.4561, allocations: 31.98 kB / 0.5089 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008344/0.457, allocations: 67.94 kB / 0.5089 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.4572, allocations: 104.7 kB / 0.509 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.093e-05/0.4573, allocations: 39.98 kB / 0.5091 GB, free: 1.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001559/0.4588, allocations: 0.9835 MB / 0.51 GB, free: 200 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4588, allocations: 0 / 0.51 GB, free: 200 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001629/0.4605, allocations: 452 kB / 0.5105 GB, free: 15.75 MB / 430.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 (104): * Single equations (assignments): 97 * 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.001775/0.4623, allocations: 0.4896 MB / 0.5109 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003717/0.466, allocations: 2.185 MB / 0.5131 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.466, allocations: 4 kB / 0.5131 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002354/0.4683, allocations: 1.46 MB / 0.5145 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.4705, allocations: 425.6 kB / 0.5149 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007469/0.478, allocations: 4.367 MB / 0.5192 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.4795, allocations: 1.686 MB / 0.5208 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.4801, allocations: 123.4 kB / 0.5209 GB, free: 4.926 MB / 430.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4801, allocations: 0 / 0.5209 GB, free: 4.926 MB / 430.1 MB Notification: Performance of Templates: time 0.091/0.5711, allocations: 74.01 MB / 0.5932 GB, free: 10.92 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 16.89150081400294]