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.002109/0.002109, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002853/0.002853, allocations: 149.3 kB / 24.26 MB, free: 184 kB / 18.57 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 1.459/1.459, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.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.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.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.004e-05, allocations: 2.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01259/0.01262, allocations: 8.43 MB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00727/0.01989, allocations: 3.264 MB / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.0212, allocations: 63.56 kB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.02326, allocations: 0.7221 MB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.02573, allocations: 0.8772 MB / 280.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.027, allocations: 490.8 kB / 281.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003742/0.03074, allocations: 2.497 MB / 283.7 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.03243, allocations: 1.01 MB / 284.7 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.0351, allocations: 1.625 MB / 286.3 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.03721, allocations: 1.208 MB / 287.5 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004398/0.03765, allocations: 280 kB / 287.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008213/0.03847, allocations: 403.7 kB / 288.2 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.03964, allocations: 0.8413 MB / 289 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.04084, allocations: 0.873 MB / 289.9 MB, free: 36 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1312/0.172, allocations: 3.775 MB / 293.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.172, allocations: 0 / 293.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.172, allocations: 0 / 293.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001717/0.1722, allocations: 1.156 kB / 293.7 MB, free: 18.98 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.008842/0.181, allocations: 2.633 MB / 296.3 MB, free: 17.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1811, allocations: 10.33 kB / 296.3 MB, free: 17.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.183, allocations: 436 kB / 296.7 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.1862, allocations: 1.378 MB / 298.1 MB, free: 17.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.1864, allocations: 135.7 kB / 298.2 MB, free: 17.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005503/0.1869, allocations: 194.1 kB / 298.4 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004419/0.1914, allocations: 2.545 MB / 301 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-05/0.1914, allocations: 9.594 kB / 301 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.1916, allocations: 76.88 kB / 301.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.1917, allocations: 94.45 kB / 301.2 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003284/0.195, allocations: 1.984 MB / 303.1 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00982/0.2048, allocations: 6.421 MB / 309.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.2063, allocations: 1.067 MB / 310.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.2076, allocations: 0.8318 MB / 311.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.2078, allocations: 50.72 kB / 311.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009457/0.2088, allocations: 0.7824 MB / 312.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 3.096e-06/0.2088, allocations: 0 / 312.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.01442/0.2232, allocations: 6.86 MB / 319.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.2232, allocations: 175.2 kB / 319.3 MB, free: 4.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.2248, allocations: 1.261 MB / 320.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.2249, allocations: 53.7 kB / 320.6 MB, free: 2.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006203/0.2255, allocations: 0.9572 MB / 321.6 MB, free: 1.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.2257, allocations: 434.1 kB / 322 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003499/0.2261, allocations: 247.5 kB / 322.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.2262, allocations: 373.4 kB / 322.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008558/0.227, allocations: 0.6325 MB / 323.3 MB, free: 252 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.2286, allocations: 1.11 MB / 324.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/0.2314, allocations: 1.706 MB / 326.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.2314, allocations: 7.984 kB / 326.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004715/0.2361, allocations: 2.305 MB / 328.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.2361, allocations: 15.98 kB / 328.4 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.2361, allocations: 12.48 kB / 328.4 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.2377, allocations: 0.528 MB / 328.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.239, allocations: 301.8 kB / 329.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00897/0.248, allocations: 6.778 MB / 336 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.25, allocations: 91.91 kB / 336.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.2501, allocations: 55.98 kB / 336.2 MB, free: 2.895 MB / 282.7 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.001515/0.2516, allocations: 0.6365 MB / 336.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004672/0.2521, allocations: 183.1 kB / 337 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/0.2564, allocations: 2.068 MB / 339 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-05/0.2565, allocations: 14.44 kB / 339.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.2565, allocations: 4 kB / 339.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.2565, allocations: 7.922 kB / 339.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008788/0.2653, allocations: 3.877 MB / 342.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.2653, allocations: 8.094 kB / 343 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008641/0.2662, allocations: 194.3 kB / 343.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.268, allocations: 0.5629 MB / 343.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.2681, allocations: 31.98 kB / 343.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.2785, allocations: 8.197 MB / 351.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/0.2785, allocations: 12.05 kB / 351.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006289/0.2848, allocations: 3.043 MB / 355 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009363/0.2857, allocations: 278.9 kB / 355.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.286, allocations: 32 kB / 355.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00085/0.2868, allocations: 75.92 kB / 355.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/0.2871, allocations: 96.75 kB / 355.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-05/0.2872, allocations: 39.98 kB / 355.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001476/0.2887, allocations: 0.8612 MB / 356.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2887, allocations: 0 / 356.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001784/0.2904, allocations: 451.9 kB / 356.8 MB, free: 13.83 MB / 314.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%), (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.00222/0.2927, allocations: 0.5284 MB / 357.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004211/0.2969, allocations: 2.046 MB / 359.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.2969, allocations: 4 kB / 359.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002587/0.2995, allocations: 1.389 MB / 360.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.3014, allocations: 366.3 kB / 361.1 MB, free: 9.695 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007559/0.3089, allocations: 4.157 MB / 365.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/0.3107, allocations: 1.121 MB / 366.4 MB, free: 4.312 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001057/0.3117, allocations: 303.8 kB / 366.7 MB, free: 4.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.3121, allocations: 107.3 kB / 366.8 MB, free: 3.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3121, allocations: 0 / 366.8 MB, free: 3.91 MB / 314.7 MB Notification: Performance of Templates: time 0.04552/0.3576, allocations: 23.55 MB / 390.4 MB, free: 12.74 MB / 346.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.199398644035682]