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.001737/0.001737, allocations: 107 kB / 21.18 MB, free: 0.5078 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.002128/0.002128, allocations: 215.4 kB / 24.48 MB, free: 3.816 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.001558/0.001558, allocations: 43.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.22, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01133/0.2314, allocations: 8.471 MB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006006/0.2374, allocations: 3.428 MB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000668/0.238, allocations: 59.62 kB / 444.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.2396, allocations: 0.7181 MB / 445 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.2415, allocations: 0.8974 MB / 445.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.2424, allocations: 451.1 kB / 446.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002484/0.2448, allocations: 2.43 MB / 448.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.2464, allocations: 1.049 MB / 449.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.2479, allocations: 1.133 MB / 451 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.2498, allocations: 1.444 MB / 452.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003773/0.2502, allocations: 276 kB / 452.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007336/0.2509, allocations: 423.8 kB / 453.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007905/0.2517, allocations: 0.8141 MB / 453.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.2528, allocations: 1.038 MB / 454.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003857/0.2567, allocations: 3.795 MB / 458.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2567, allocations: 0 / 458.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2567, allocations: 0 / 458.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.295e-05/0.2567, allocations: 0 / 458.7 MB, free: 12.16 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.004998/0.2617, allocations: 2.663 MB / 461.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2617, allocations: 12.03 kB / 461.4 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000815/0.2625, allocations: 291.3 kB / 461.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.2651, allocations: 1.329 MB / 463 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.2653, allocations: 143.7 kB / 463.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003038/0.2656, allocations: 184 kB / 463.3 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/0.2697, allocations: 2.54 MB / 465.9 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.143e-05/0.2698, allocations: 7.953 kB / 465.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.2699, allocations: 79.98 kB / 466 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.2701, allocations: 95.67 kB / 466.1 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/0.2734, allocations: 1.99 MB / 468.1 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.2841, allocations: 6.328 MB / 474.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.286, allocations: 1.058 MB / 475.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.2875, allocations: 0.8077 MB / 476.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.2877, allocations: 40.97 kB / 476.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.2889, allocations: 0.7909 MB / 477.1 MB, free: 9.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.095e-06/0.2889, allocations: 4 kB / 477.1 MB, free: 9.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01566/0.3045, allocations: 6.834 MB / 483.9 MB, free: 2.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.3047, allocations: 167.2 kB / 484.1 MB, free: 2.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.3064, allocations: 1.278 MB / 485.4 MB, free: 1.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.201e-05/0.3065, allocations: 53.64 kB / 485.4 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008081/0.3073, allocations: 0.9692 MB / 486.4 MB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/0.3077, allocations: 440.5 kB / 486.8 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/0.3081, allocations: 247.5 kB / 487.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3083, allocations: 353.9 kB / 487.4 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.3093, allocations: 0.6442 MB / 488 MB, free: 14.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.3107, allocations: 1.106 MB / 489.2 MB, free: 13.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.3133, allocations: 1.707 MB / 490.9 MB, free: 11.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3133, allocations: 4 kB / 490.9 MB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003906/0.3172, allocations: 2.249 MB / 493.1 MB, free: 8.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3172, allocations: 12 kB / 493.1 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.3172, allocations: 8 kB / 493.1 MB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.3185, allocations: 0.4907 MB / 493.6 MB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.3196, allocations: 295.5 kB / 493.9 MB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007342/0.3269, allocations: 6.765 MB / 0.4889 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/0.3279, allocations: 91.98 kB / 0.489 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.328, allocations: 59.92 kB / 0.4891 GB, free: 0.918 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.0009931/0.329, allocations: 0.6403 MB / 0.4897 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.3293, allocations: 151 kB / 0.4899 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.3331, allocations: 2.074 MB / 0.4919 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.3331, allocations: 12 kB / 0.4919 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3332, allocations: 4 kB / 0.4919 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.3332, allocations: 7.969 kB / 0.4919 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007054/0.3402, allocations: 3.876 MB / 0.4957 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.3402, allocations: 4 kB / 0.4957 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008163/0.341, allocations: 196.1 kB / 0.4959 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.3425, allocations: 0.5348 MB / 0.4964 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.3426, allocations: 31.98 kB / 0.4964 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008636/0.3512, allocations: 8.166 MB / 0.5044 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.3512, allocations: 7.938 kB / 0.5044 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/0.3561, allocations: 3.009 MB / 0.5074 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/0.3569, allocations: 278.9 kB / 0.5076 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.3571, allocations: 35.98 kB / 0.5077 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007795/0.3578, allocations: 71.92 kB / 0.5077 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.3581, allocations: 104.7 kB / 0.5078 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.193e-05/0.3581, allocations: 39.98 kB / 0.5079 GB, free: 13.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001229/0.3594, allocations: 0.8662 MB / 0.5087 GB, free: 12.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3594, allocations: 0 / 0.5087 GB, free: 12.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001431/0.3608, allocations: 447.9 kB / 0.5091 GB, free: 11.76 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.001821/0.3626, allocations: 0.5312 MB / 0.5097 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00349/0.3661, allocations: 2.034 MB / 0.5116 GB, free: 9.328 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.3661, allocations: 7.984 kB / 0.5116 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.3685, allocations: 1.4 MB / 0.513 GB, free: 7.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.3701, allocations: 363.1 kB / 0.5134 GB, free: 7.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.3767, allocations: 4.304 MB / 0.5176 GB, free: 3.133 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.378, allocations: 1.137 MB / 0.5187 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008043/0.3788, allocations: 303.8 kB / 0.519 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.3791, allocations: 103.4 kB / 0.5191 GB, free: 1.555 MB / 430.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3791, allocations: 0 / 0.5191 GB, free: 1.555 MB / 430.1 MB Notification: Performance of Templates: time 0.215/0.5941, allocations: 26.64 MB / 0.5451 GB, free: 95.49 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 -s gbode -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: 10.877513819999876]