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.001617/0.001617, allocations: 81.81 kB / 21.42 MB, free: 3.066 MB / 18.57 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.001303/0.001303, allocations: 164.4 kB / 24.82 MB, free: 9.258 MB / 18.57 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 0.9639/0.9639, allocations: 177 MB / 205.1 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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=20000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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=20000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.523e-06/1.523e-06, allocations: 0 / 273.3 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.86e-05, allocations: 2.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01858/0.0186, allocations: 9.225 MB / 282.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.03, allocations: 3.544 MB / 286.1 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006656/0.03067, allocations: 59.62 kB / 286.2 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004382/0.03505, allocations: 0.7299 MB / 286.9 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.03653, allocations: 0.9238 MB / 287.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.0403, allocations: 462.9 kB / 288.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1085/0.1488, allocations: 2.515 MB / 290.8 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.1509, allocations: 1.018 MB / 291.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.1546, allocations: 1.796 MB / 293.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.1575, allocations: 1.257 MB / 294.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.1586, allocations: 268.8 kB / 295.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.1602, allocations: 415.2 kB / 295.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.1613, allocations: 0.8096 MB / 296.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00264/0.1639, allocations: 0.8693 MB / 297.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004746/0.1687, allocations: 2.074 MB / 299.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1687, allocations: 1.875 kB / 299.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1687, allocations: 0 / 299.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.00013/0.1688, allocations: 1.375 kB / 299.3 MB, free: 15.52 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.005628/0.1745, allocations: 2.73 MB / 302 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.1745, allocations: 9.844 kB / 302 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008617/0.1754, allocations: 445 kB / 302.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.1768, allocations: 1.244 MB / 303.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.1768, allocations: 144 kB / 303.9 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.177, allocations: 193.7 kB / 304 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.1786, allocations: 1.418 MB / 305.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/0.1787, allocations: 7.594 kB / 305.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.1788, allocations: 76.09 kB / 305.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.368e-05/0.1788, allocations: 98.16 kB / 305.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.1796, allocations: 0.5523 MB / 306.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005035/0.1846, allocations: 5.922 MB / 312.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.1852, allocations: 0.5669 MB / 312.7 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004644/0.1857, allocations: 445.8 kB / 313.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.1858, allocations: 52.27 kB / 313.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000341/0.1861, allocations: 0.4952 MB / 313.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.174e-06/0.1861, allocations: 0 / 313.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.003951/0.1901, allocations: 3.12 MB / 316.8 MB, free: 4.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1901, allocations: 167.2 kB / 316.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000673/0.1908, allocations: 1.103 MB / 318 MB, free: 3.336 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.1908, allocations: 49.7 kB / 318.1 MB, free: 3.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.1912, allocations: 1.046 MB / 319.1 MB, free: 2.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.1913, allocations: 453.6 kB / 319.6 MB, free: 1.859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.1916, allocations: 255.6 kB / 319.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.1916, allocations: 0.5465 MB / 320.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.1918, allocations: 167.8 kB / 320.5 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.1922, allocations: 0.787 MB / 321.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/0.1929, allocations: 0.9147 MB / 322.2 MB, free: 14.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.1929, allocations: 4 kB / 322.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001361/0.1943, allocations: 1.213 MB / 323.5 MB, free: 13.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1943, allocations: 12.62 kB / 323.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1943, allocations: 8 kB / 323.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/0.1949, allocations: 285.4 kB / 323.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.1954, allocations: 273.5 kB / 324 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/0.1985, allocations: 6.501 MB / 330.5 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.1989, allocations: 55.98 kB / 330.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.1989, allocations: 47.33 kB / 330.6 MB, free: 6.359 MB / 282.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.0003047/0.1993, allocations: 256.2 kB / 330.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.1994, allocations: 187 kB / 331.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.2006, allocations: 1.063 MB / 332.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2007, allocations: 12 kB / 332.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2007, allocations: 4 kB / 332.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.2007, allocations: 7.969 kB / 332.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.2037, allocations: 2.842 MB / 335 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2037, allocations: 3.984 kB / 335 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.2041, allocations: 170.7 kB / 335.2 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/0.2047, allocations: 331.5 kB / 335.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/0.2048, allocations: 39.92 kB / 335.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/0.2083, allocations: 8.196 MB / 343.7 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2083, allocations: 4 kB / 343.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.2099, allocations: 1.532 MB / 345.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.2102, allocations: 238.9 kB / 345.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.2103, allocations: 31.98 kB / 345.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.2106, allocations: 39.98 kB / 345.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.2107, allocations: 100.1 kB / 345.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.2108, allocations: 35.98 kB / 345.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004506/0.2112, allocations: 0.6243 MB / 346.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2112, allocations: 0 / 346.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009326/0.2122, allocations: 443.9 kB / 346.8 MB, free: 6.117 MB / 298.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.0009038/0.2131, allocations: 477.3 kB / 347.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.2143, allocations: 1.389 MB / 348.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2143, allocations: 3.094 kB / 348.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008819/0.2152, allocations: 1.203 MB / 349.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.2161, allocations: 365.3 kB / 350.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.2199, allocations: 3.572 MB / 353.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.2203, allocations: 0.5205 MB / 354.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004143/0.2207, allocations: 188 kB / 354.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005741/0.2213, allocations: 418 kB / 354.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2213, allocations: 0 / 354.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of Templates: time 0.02867/0.25, allocations: 24.68 MB / 379.5 MB, free: 5.82 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.381533994805068]