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.001586/0.001586, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001025/0.001025, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9242/0.9242, allocations: 177.2 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.353e-06/1.353e-06, allocations: 0 / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.258e-05, allocations: 2.312 kB / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.007746/0.007769, allocations: 9.477 MB / 282.5 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005249/0.01302, allocations: 3.572 MB / 286 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.01407, allocations: 67.56 kB / 286.1 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.01551, allocations: 0.7143 MB / 286.8 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.01751, allocations: 0.9277 MB / 287.8 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008791/0.01838, allocations: 454.9 kB / 288.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1231/0.1415, allocations: 2.514 MB / 290.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.1431, allocations: 1.017 MB / 291.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.1458, allocations: 1.798 MB / 293.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/0.1479, allocations: 1.25 MB / 294.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006623/0.1486, allocations: 271.1 kB / 295 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008142/0.1494, allocations: 411.5 kB / 295.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00065/0.15, allocations: 0.812 MB / 296.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.1514, allocations: 0.8689 MB / 297.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.154, allocations: 2.077 MB / 299.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.154, allocations: 0.875 kB / 299.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.154, allocations: 1.281 kB / 299.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.659e-05/0.1541, allocations: 0 / 299.2 MB, free: 14.96 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.004126/0.1582, allocations: 2.782 MB / 302 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1583, allocations: 9.094 kB / 302 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007968/0.1591, allocations: 448.9 kB / 302.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.1606, allocations: 1.3 MB / 303.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.568e-05/0.1607, allocations: 142.9 kB / 303.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.1609, allocations: 199.2 kB / 304.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.1628, allocations: 1.533 MB / 305.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.1629, allocations: 12.95 kB / 305.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.163, allocations: 79.91 kB / 305.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.318e-05/0.1631, allocations: 93 kB / 305.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.1643, allocations: 0.7001 MB / 306.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0055/0.1698, allocations: 5.993 MB / 312.5 MB, free: 7.848 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/0.1706, allocations: 0.624 MB / 313.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.1712, allocations: 493.1 kB / 313.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.1713, allocations: 56.47 kB / 313.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/0.1718, allocations: 0.5222 MB / 314.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 3.947e-06/0.1718, allocations: 0 / 314.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.00567/0.1775, allocations: 3.79 MB / 317.9 MB, free: 2.695 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1775, allocations: 167.2 kB / 318.1 MB, free: 2.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009159/0.1785, allocations: 1.127 MB / 319.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.1785, allocations: 49.7 kB / 319.3 MB, free: 1.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.179, allocations: 1.037 MB / 320.3 MB, free: 260 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.1792, allocations: 451.2 kB / 320.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/0.1795, allocations: 249.2 kB / 321 MB, free: 15.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.1798, allocations: 0.5431 MB / 321.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.1802, allocations: 219.8 kB / 321.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.1808, allocations: 0.8284 MB / 322.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/0.1817, allocations: 1.012 MB / 323.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.1817, allocations: 7.938 kB / 323.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001809/0.1836, allocations: 1.332 MB / 324.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1836, allocations: 8 kB / 325 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1836, allocations: 12 kB / 325 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/0.1842, allocations: 297.8 kB / 325.3 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.1848, allocations: 284.5 kB / 325.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/0.1885, allocations: 6.693 MB / 332.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.1892, allocations: 83.92 kB / 332.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/0.1893, allocations: 48 kB / 332.4 MB, free: 3.582 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.0005089/0.1898, allocations: 255.9 kB / 332.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.19, allocations: 187.1 kB / 332.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.1915, allocations: 1.156 MB / 333.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1915, allocations: 12 kB / 334 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1915, allocations: 11.75 kB / 334 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.1915, allocations: 7.969 kB / 334 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003574/0.1951, allocations: 2.958 MB / 336.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1951, allocations: 4 kB / 336.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.1955, allocations: 186 kB / 337.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006907/0.1962, allocations: 352.3 kB / 337.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/0.1963, allocations: 31.98 kB / 337.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/0.2003, allocations: 8.375 MB / 345.9 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2003, allocations: 4 kB / 345.9 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.2023, allocations: 1.677 MB / 347.6 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.2028, allocations: 262.9 kB / 347.8 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.2029, allocations: 32 kB / 347.8 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.2032, allocations: 59.94 kB / 347.9 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.2034, allocations: 108.3 kB / 348 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/0.2035, allocations: 35.98 kB / 348 MB, free: 3.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007005/0.2042, allocations: 0.675 MB / 348.7 MB, free: 2.672 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2042, allocations: 0 / 348.7 MB, free: 2.672 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001293/0.2055, allocations: 443.9 kB / 349.1 MB, free: 2.238 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.001033/0.2065, allocations: 479.6 kB / 349.6 MB, free: 1.957 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.2083, allocations: 1.514 MB / 351.1 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2083, allocations: 3.375 kB / 351.1 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.2094, allocations: 1.283 MB / 352.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.2104, allocations: 379.8 kB / 352.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/0.215, allocations: 3.599 MB / 356.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.2154, allocations: 0.5127 MB / 356.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005748/0.216, allocations: 259.8 kB / 357.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.2162, allocations: 108.5 kB / 357.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2162, allocations: 0 / 357.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of Templates: time 0.0301/0.2463, allocations: 24.23 MB / 381.5 MB, free: 2.312 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.204244791064411]