Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008156/0.0008156, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.001983, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006947/0.0006947, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001701, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9313/0.9313, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09409/1.025, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.162e-05, allocations: 2.875 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.009324/0.009346, allocations: 9.301 MB / 248.9 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005094/0.01444, allocations: 3.501 MB / 252.4 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006766/0.01512, allocations: 63.56 kB / 252.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.01628, allocations: 0.7338 MB / 253.2 MB, free: 5.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.01768, allocations: 0.8927 MB / 254.1 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008/0.01848, allocations: 486.8 kB / 254.5 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.02035, allocations: 2.505 MB / 257 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009333/0.02128, allocations: 1.041 MB / 258.1 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.02297, allocations: 1.938 MB / 260 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.02402, allocations: 1.231 MB / 261.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.02428, allocations: 272 kB / 261.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005003/0.02478, allocations: 399.7 kB / 261.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.02521, allocations: 0.6585 MB / 262.6 MB, free: 12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005991/0.02581, allocations: 0.7135 MB / 263.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.02743, allocations: 1.947 MB / 265.2 MB, free: 9.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/0.02744, allocations: 0 / 265.2 MB, free: 9.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02745, allocations: 0 / 265.2 MB, free: 9.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.684e-05/0.02747, allocations: 0 / 265.2 MB, free: 9.336 MB / 266.7 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.002765/0.03024, allocations: 2.927 MB / 268.1 MB, free: 6.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.03028, allocations: 8.031 kB / 268.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/0.03085, allocations: 429.7 kB / 268.6 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.03192, allocations: 0.9709 MB / 269.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.567e-05/0.032, allocations: 139.7 kB / 269.7 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.03217, allocations: 191.9 kB / 269.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.03357, allocations: 1.44 MB / 271.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.03361, allocations: 7.984 kB / 271.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.03372, allocations: 79.98 kB / 271.4 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.03379, allocations: 95.67 kB / 271.5 MB, free: 2.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007358/0.03453, allocations: 0.5445 MB / 272 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.131/0.1655, allocations: 4.777 MB / 276.8 MB, free: 20.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/0.1663, allocations: 0.584 MB / 277.4 MB, free: 20.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.1668, allocations: 406.8 kB / 277.8 MB, free: 20.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.1669, allocations: 44.61 kB / 277.8 MB, free: 20.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004323/0.1674, allocations: 479.9 kB / 278.3 MB, free: 20.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.344e-06/0.1674, allocations: 0 / 278.3 MB, free: 20.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.005149/0.1725, allocations: 3.145 MB / 281.4 MB, free: 20.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.1725, allocations: 65.8 kB / 281.5 MB, free: 20.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/0.1734, allocations: 0.9912 MB / 282.5 MB, free: 19.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.1734, allocations: 45.61 kB / 282.5 MB, free: 19.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.1737, allocations: 0.7936 MB / 283.3 MB, free: 19.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.1739, allocations: 435.8 kB / 283.8 MB, free: 19.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.1741, allocations: 241.5 kB / 284 MB, free: 19.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.1742, allocations: 360.4 kB / 284.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.1744, allocations: 159 kB / 284.5 MB, free: 18.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.1747, allocations: 0.6053 MB / 285.1 MB, free: 18.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005682/0.1753, allocations: 0.7979 MB / 285.9 MB, free: 17.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.1753, allocations: 6.812 kB / 285.9 MB, free: 17.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001116/0.1764, allocations: 0.9735 MB / 286.9 MB, free: 17.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1764, allocations: 9.125 kB / 286.9 MB, free: 17.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.1764, allocations: 9.625 kB / 286.9 MB, free: 17.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.177, allocations: 274.1 kB / 287.2 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.1776, allocations: 318.5 kB / 287.5 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.1797, allocations: 4.772 MB / 292.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.1801, allocations: 54.98 kB / 292.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.1802, allocations: 46.25 kB / 292.4 MB, free: 13.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (150): * Single equations (assignments): 145 * 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.0002567/0.1804, allocations: 204.9 kB / 292.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.1806, allocations: 123.4 kB / 292.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009218/0.1815, allocations: 0.8956 MB / 293.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1815, allocations: 14.48 kB / 293.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1815, allocations: 14.19 kB / 293.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.1815, allocations: 6.141 kB / 293.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.1838, allocations: 2.383 MB / 296 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1838, allocations: 3.812 kB / 296 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.1842, allocations: 195.2 kB / 296.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.1844, allocations: 186.5 kB / 296.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005828/0.185, allocations: 361.4 kB / 296.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.1851, allocations: 37.91 kB / 296.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.1873, allocations: 5.943 MB / 302.7 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1873, allocations: 11.62 kB / 302.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1885, allocations: 1.277 MB / 304 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.1886, allocations: 35.92 kB / 304 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.1888, allocations: 39.98 kB / 304.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.1889, allocations: 100.4 kB / 304.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.189, allocations: 35.98 kB / 304.2 MB, free: 6.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.1892, allocations: 462.9 kB / 304.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1892, allocations: 0 / 304.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006972/0.1899, allocations: 447.9 kB / 305.1 MB, free: 5.578 MB / 266.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/0.1912, allocations: 0.6433 MB / 305.7 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009508/0.1921, allocations: 1.154 MB / 306.9 MB, free: 4.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.953e-05/0.1922, allocations: 35.02 kB / 306.9 MB, free: 4.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005974/0.1928, allocations: 0.9396 MB / 307.9 MB, free: 3.129 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.1935, allocations: 481.8 kB / 308.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.2049, allocations: 3.487 MB / 311.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.2053, allocations: 482.4 kB / 312.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004699/0.2058, allocations: 180 kB / 312.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005513/0.2063, allocations: 365.1 kB / 312.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2063, allocations: 0 / 312.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of Templates: time 0.03104/0.2374, allocations: 25.59 MB / 338.4 MB, free: 4.941 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.105135090649128]