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.001738/0.001738, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.002159/0.002159, allocations: 210.8 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.785 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+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 0.001562/0.001562, allocations: 51.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2618, allocations: 53.37 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01212/0.2739, allocations: 8.455 MB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008082/0.282, allocations: 3.428 MB / 444.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.2837, allocations: 63.56 kB / 444.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.286, allocations: 0.722 MB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.2892, allocations: 0.8896 MB / 445.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.2906, allocations: 455.1 kB / 446.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003712/0.2943, allocations: 2.431 MB / 448.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.296, allocations: 1.049 MB / 449.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.298, allocations: 1.141 MB / 451 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.3008, allocations: 1.436 MB / 452.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006888/0.3015, allocations: 280 kB / 452.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.3027, allocations: 415.8 kB / 453.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009699/0.3037, allocations: 0.8219 MB / 453.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.3054, allocations: 1.031 MB / 454.9 MB, free: 24 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004728/0.3101, allocations: 3.795 MB / 458.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3101, allocations: 0 / 458.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3101, allocations: 0 / 458.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001006/0.3102, allocations: 0 / 458.7 MB, free: 12.21 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.006377/0.3166, allocations: 2.667 MB / 461.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3167, allocations: 8.031 kB / 461.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009307/0.3176, allocations: 291.3 kB / 461.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.3206, allocations: 1.325 MB / 463 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.3208, allocations: 143.7 kB / 463.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003864/0.3211, allocations: 195.9 kB / 463.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004619/0.3258, allocations: 2.54 MB / 465.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.154e-05/0.3258, allocations: 7.938 kB / 465.9 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.326, allocations: 72 kB / 466 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.3261, allocations: 95.67 kB / 466.1 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/0.3299, allocations: 1.986 MB / 468 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.3423, allocations: 6.336 MB / 474.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.3442, allocations: 1.05 MB / 475.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.3458, allocations: 0.8116 MB / 476.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/0.346, allocations: 48.95 kB / 476.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/0.3472, allocations: 0.7831 MB / 477.1 MB, free: 9.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.156e-06/0.3472, allocations: 0 / 477.1 MB, free: 9.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01619/0.3634, allocations: 6.842 MB / 483.9 MB, free: 2.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.3635, allocations: 171.2 kB / 484.1 MB, free: 2.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.3655, allocations: 1.286 MB / 485.4 MB, free: 1.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.3657, allocations: 45.7 kB / 485.4 MB, free: 1.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009386/0.3666, allocations: 0.9653 MB / 486.4 MB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.367, allocations: 444.5 kB / 486.8 MB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.3675, allocations: 243.5 kB / 487.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3677, allocations: 365.9 kB / 487.4 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.3687, allocations: 0.6325 MB / 488 MB, free: 14.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.3701, allocations: 1.106 MB / 489.2 MB, free: 13.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.3726, allocations: 1.707 MB / 490.9 MB, free: 11.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.3726, allocations: 4 kB / 490.9 MB, free: 11.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004135/0.3767, allocations: 2.253 MB / 493.1 MB, free: 8.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.3767, allocations: 8 kB / 493.1 MB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.3768, allocations: 11.98 kB / 493.1 MB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.378, allocations: 0.4923 MB / 493.6 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.3791, allocations: 291.5 kB / 493.9 MB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007431/0.3866, allocations: 6.759 MB / 0.4889 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.388, allocations: 91.91 kB / 0.489 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.3882, allocations: 56.22 kB / 0.4891 GB, free: 0.9805 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.001228/0.3894, allocations: 0.6494 MB / 0.4897 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/0.3898, allocations: 151 kB / 0.4899 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/0.3937, allocations: 2.074 MB / 0.4919 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.3937, allocations: 12 kB / 0.4919 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.3937, allocations: 7.938 kB / 0.4919 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.3937, allocations: 7.922 kB / 0.4919 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007767/0.4015, allocations: 3.865 MB / 0.4957 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.4015, allocations: 4 kB / 0.4957 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008527/0.4023, allocations: 187.8 kB / 0.4959 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.4038, allocations: 0.5352 MB / 0.4964 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.4039, allocations: 43.97 kB / 0.4964 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008605/0.4125, allocations: 8.169 MB / 0.5044 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.4125, allocations: 7.938 kB / 0.5044 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/0.4177, allocations: 3.009 MB / 0.5074 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009838/0.4187, allocations: 282.9 kB / 0.5076 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.4189, allocations: 31.98 kB / 0.5077 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/0.4198, allocations: 63.94 kB / 0.5077 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/0.42, allocations: 104.7 kB / 0.5078 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.85e-05/0.4201, allocations: 43.92 kB / 0.5079 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001322/0.4214, allocations: 0.8701 MB / 0.5087 GB, free: 12.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4214, allocations: 7.938 kB / 0.5087 GB, free: 12.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001705/0.4231, allocations: 451.9 kB / 0.5091 GB, free: 11.8 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 (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.001932/0.4251, allocations: 0.5224 MB / 0.5097 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003763/0.4288, allocations: 2.038 MB / 0.5116 GB, free: 9.375 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.4288, allocations: 4.625 kB / 0.5116 GB, free: 9.371 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.4312, allocations: 1.403 MB / 0.513 GB, free: 7.914 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.4332, allocations: 358.8 kB / 0.5134 GB, free: 7.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008079/0.4413, allocations: 4.364 MB / 0.5176 GB, free: 3.129 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.4427, allocations: 1.122 MB / 0.5187 GB, free: 1.969 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.4432, allocations: 107.4 kB / 0.5188 GB, free: 1.863 MB / 430.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4432, allocations: 0 / 0.5188 GB, free: 1.863 MB / 430.1 MB Notification: Performance of Templates: time 0.2769/0.7201, allocations: 73.64 MB / 0.5907 GB, free: 56.06 MB / 446.1 MB " [Timeout remaining time 659] 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/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_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.742800801002886]