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.001375/0.001375, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002096/0.002096, allocations: 215.3 kB / 23.73 MB, free: 4.156 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001639/0.001639, allocations: 55.91 kB / 378.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2498, allocations: 53.37 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01238/0.2622, allocations: 8.46 MB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007516/0.2697, allocations: 3.436 MB / 443.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.271, allocations: 59.62 kB / 443.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.273, allocations: 0.7184 MB / 444.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.2756, allocations: 0.8896 MB / 445.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.2769, allocations: 451.1 kB / 445.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.2805, allocations: 2.432 MB / 448 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.2819, allocations: 1.006 MB / 449 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.2837, allocations: 1.137 MB / 450.2 MB, free: 4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.286, allocations: 1.339 MB / 451.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000512/0.2865, allocations: 280 kB / 451.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009777/0.2875, allocations: 423.7 kB / 452.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009311/0.2884, allocations: 0.8102 MB / 453 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.2899, allocations: 1.042 MB / 454 MB, free: 112 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004618/0.2945, allocations: 3.786 MB / 457.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2945, allocations: 0 / 457.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2945, allocations: 0 / 457.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.272e-05/0.2946, allocations: 4 kB / 457.8 MB, free: 12.31 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.005367/0.2999, allocations: 2.671 MB / 460.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3, allocations: 12.03 kB / 460.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008094/0.3008, allocations: 291.3 kB / 460.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.3035, allocations: 1.325 MB / 462.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.3036, allocations: 135.7 kB / 462.3 MB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/0.3039, allocations: 195.9 kB / 462.5 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004122/0.3081, allocations: 2.54 MB / 465 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.563e-05/0.3081, allocations: 11.95 kB / 465 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.3083, allocations: 76 kB / 465.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.3084, allocations: 103.6 kB / 465.2 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003516/0.3119, allocations: 1.978 MB / 467.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.3234, allocations: 6.328 MB / 473.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.3252, allocations: 1.054 MB / 474.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.3268, allocations: 0.8233 MB / 475.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.327, allocations: 40.97 kB / 475.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.3282, allocations: 0.7831 MB / 476.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.136e-06/0.3282, allocations: 0 / 476.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01579/0.344, allocations: 6.831 MB / 483 MB, free: 2.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.3441, allocations: 175.2 kB / 483.2 MB, free: 2.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.3461, allocations: 1.278 MB / 484.5 MB, free: 1.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.5e-05/0.3462, allocations: 49.7 kB / 484.5 MB, free: 1.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009407/0.3471, allocations: 0.9731 MB / 485.5 MB, free: 152 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/0.3476, allocations: 440.4 kB / 485.9 MB, free: 15.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/0.348, allocations: 247.5 kB / 486.2 MB, free: 15.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3482, allocations: 357.9 kB / 486.5 MB, free: 15.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.3493, allocations: 0.6364 MB / 487.1 MB, free: 14.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.3507, allocations: 1.11 MB / 488.3 MB, free: 13.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/0.3532, allocations: 1.711 MB / 490 MB, free: 11.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3532, allocations: 0 / 490 MB, free: 11.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003965/0.3572, allocations: 2.258 MB / 492.2 MB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.3572, allocations: 8 kB / 492.2 MB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.3572, allocations: 12 kB / 492.2 MB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.3584, allocations: 496 kB / 492.7 MB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.3595, allocations: 295.5 kB / 493 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007366/0.3669, allocations: 6.763 MB / 499.8 MB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.368, allocations: 95.86 kB / 499.9 MB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.3681, allocations: 55.98 kB / 499.9 MB, free: 1.055 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.001072/0.3692, allocations: 0.6409 MB / 0.4888 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.3694, allocations: 147.1 kB / 0.489 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.3732, allocations: 2.07 MB / 0.491 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3732, allocations: 19.94 kB / 0.491 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3732, allocations: 4 kB / 0.491 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.3733, allocations: 15.89 kB / 0.491 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007295/0.3806, allocations: 3.869 MB / 0.4948 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3806, allocations: 0 / 0.4948 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008238/0.3814, allocations: 195.7 kB / 0.495 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.3829, allocations: 0.5351 MB / 0.4955 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.383, allocations: 31.98 kB / 0.4956 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009168/0.3922, allocations: 8.169 MB / 0.5035 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.3922, allocations: 4 kB / 0.5035 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005557/0.3977, allocations: 3.012 MB / 0.5065 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.3987, allocations: 282.9 kB / 0.5067 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.399, allocations: 39.98 kB / 0.5068 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/0.3998, allocations: 63.94 kB / 0.5068 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.4001, allocations: 108.7 kB / 0.507 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.721e-05/0.4002, allocations: 40 kB / 0.507 GB, free: 13.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00133/0.4015, allocations: 0.8701 MB / 0.5078 GB, free: 12.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4015, allocations: 0 / 0.5078 GB, free: 12.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001597/0.4031, allocations: 451.9 kB / 0.5083 GB, free: 11.88 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.001868/0.405, allocations: 0.5263 MB / 0.5088 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003695/0.4087, allocations: 2.038 MB / 0.5108 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.4087, allocations: 0 / 0.5108 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002364/0.4111, allocations: 1.4 MB / 0.5121 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.4128, allocations: 356 kB / 0.5125 GB, free: 7.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006817/0.4196, allocations: 4.303 MB / 0.5167 GB, free: 3.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.421, allocations: 1.141 MB / 0.5178 GB, free: 2.105 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008555/0.4218, allocations: 295.8 kB / 0.5181 GB, free: 1.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.4221, allocations: 111.3 kB / 0.5182 GB, free: 1.703 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4221, allocations: 0 / 0.5182 GB, free: 1.703 MB / 430.1 MB Notification: Performance of Templates: time 0.2401/0.6622, allocations: 26.15 MB / 0.5437 GB, free: 95.44 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/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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.591431878507137]