Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001752/0.001752, allocations: 81.23 kB / 21.25 MB, free: 0.5469 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.00222/0.00222, allocations: 159.4 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.676/1.676, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 65.36 kB / 325.5 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1064, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01242/0.1188, allocations: 8.465 MB / 387.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007273/0.1261, allocations: 3.432 MB / 390.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.1273, allocations: 63.62 kB / 390.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.1293, allocations: 0.7145 MB / 391.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.1322, allocations: 0.9052 MB / 392.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1335, allocations: 447.1 kB / 392.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003388/0.1369, allocations: 2.428 MB / 395.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.1383, allocations: 1.006 MB / 396.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1401, allocations: 1.137 MB / 397.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.1423, allocations: 1.346 MB / 398.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004374/0.1427, allocations: 280 kB / 399.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008844/0.1436, allocations: 415.8 kB / 399.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008792/0.1445, allocations: 0.8102 MB / 400.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.1458, allocations: 1.035 MB / 401.4 MB, free: 8.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004265/0.1501, allocations: 3.795 MB / 405.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.1501, allocations: 3.984 kB / 405.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1501, allocations: 0 / 405.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.468e-05/0.1502, allocations: 0 / 405.2 MB, free: 5.047 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.005423/0.1556, allocations: 2.671 MB / 407.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1556, allocations: 11.98 kB / 407.9 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/0.1564, allocations: 291.3 kB / 408.2 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/0.159, allocations: 1.326 MB / 409.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.1591, allocations: 143.7 kB / 409.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000329/0.1595, allocations: 191.9 kB / 409.8 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004372/0.1638, allocations: 2.54 MB / 412.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.733e-05/0.1639, allocations: 15.95 kB / 412.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.1641, allocations: 72 kB / 412.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.1642, allocations: 95.67 kB / 412.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003595/0.1678, allocations: 1.986 MB / 414.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.1789, allocations: 6.323 MB / 420.8 MB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.1809, allocations: 1.063 MB / 421.9 MB, free: 4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.1825, allocations: 0.8148 MB / 422.7 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/0.1827, allocations: 48.97 kB / 422.8 MB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/0.1839, allocations: 0.7831 MB / 423.5 MB, free: 2.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.527e-06/0.1839, allocations: 0 / 423.5 MB, free: 2.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01662/0.2005, allocations: 6.829 MB / 430.4 MB, free: 11.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.2007, allocations: 167.2 kB / 430.5 MB, free: 11.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.2026, allocations: 1.282 MB / 431.8 MB, free: 9.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/0.2027, allocations: 45.7 kB / 431.9 MB, free: 9.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009238/0.2036, allocations: 0.977 MB / 432.8 MB, free: 8.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.204, allocations: 444.3 kB / 433.3 MB, free: 8.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004173/0.2044, allocations: 243.5 kB / 433.5 MB, free: 8.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.2046, allocations: 361.9 kB / 433.9 MB, free: 7.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.2057, allocations: 0.6364 MB / 434.5 MB, free: 7.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.2071, allocations: 1.102 MB / 435.6 MB, free: 5.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/0.2097, allocations: 1.715 MB / 437.3 MB, free: 4.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.2097, allocations: 4 kB / 437.3 MB, free: 4.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004067/0.2137, allocations: 2.25 MB / 439.6 MB, free: 1.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.2138, allocations: 12 kB / 439.6 MB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.2138, allocations: 12 kB / 439.6 MB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.215, allocations: 0.4955 MB / 440.1 MB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.2161, allocations: 291.5 kB / 440.4 MB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007485/0.2236, allocations: 6.746 MB / 447.1 MB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.2247, allocations: 99.8 kB / 447.2 MB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.2248, allocations: 52 kB / 447.3 MB, free: 9.801 MB / 414.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.001124/0.226, allocations: 0.6444 MB / 447.9 MB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/0.2263, allocations: 155 kB / 448.1 MB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/0.2303, allocations: 2.062 MB / 450.1 MB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.2304, allocations: 12 kB / 450.1 MB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.2304, allocations: 11.94 kB / 450.1 MB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.2304, allocations: 11.97 kB / 450.2 MB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007592/0.238, allocations: 3.869 MB / 454 MB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.238, allocations: 7.984 kB / 454 MB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/0.2388, allocations: 191.7 kB / 454.2 MB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.2404, allocations: 0.5382 MB / 454.8 MB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.2405, allocations: 35.98 kB / 454.8 MB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009439/0.25, allocations: 8.174 MB / 463 MB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.25, allocations: 8 kB / 463 MB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005693/0.2557, allocations: 3.013 MB / 466 MB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.2568, allocations: 278.9 kB / 466.3 MB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/0.2573, allocations: 32.05 kB / 466.3 MB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.2584, allocations: 71.91 kB / 466.4 MB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.2587, allocations: 108.8 kB / 466.5 MB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.2588, allocations: 35.98 kB / 466.5 MB, free: 5.941 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00169/0.2605, allocations: 0.8662 MB / 467.4 MB, free: 5.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2605, allocations: 0 / 467.4 MB, free: 5.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002034/0.2625, allocations: 455.9 kB / 467.8 MB, free: 4.625 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.002036/0.2646, allocations: 0.511 MB / 468.3 MB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003959/0.2685, allocations: 2.038 MB / 470.4 MB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.2685, allocations: 4 kB / 470.4 MB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.2711, allocations: 1.388 MB / 471.8 MB, free: 0.7344 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.2732, allocations: 381.2 kB / 472.1 MB, free: 388 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2006/0.4737, allocations: 4.27 MB / 476.4 MB, free: 82.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.4751, allocations: 1.138 MB / 477.5 MB, free: 82.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000945/0.4761, allocations: 301.5 kB / 477.8 MB, free: 82.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.4765, allocations: 104.9 kB / 477.9 MB, free: 82.19 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4765, allocations: 0 / 477.9 MB, free: 82.19 MB / 430.1 MB Notification: Performance of Templates: time 0.03274/0.5092, allocations: 23.75 MB / 0.4899 GB, free: 68.62 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.67133503803052]