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.00139/0.00139, allocations: 83.06 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001475/0.001475, allocations: 167.8 kB / 23.95 MB, free: 4.16 MB / 14.72 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 1.483/1.483, allocations: 177.1 MB / 204.3 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.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.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.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 325.1 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.859e-05, allocations: 6.219 kB / 325.1 MB, free: 368 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01627/0.0163, allocations: 8.461 MB / 333.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009879/0.02618, allocations: 3.453 MB / 337 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.02827, allocations: 60 kB / 337.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.03142, allocations: 0.7221 MB / 337.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.03556, allocations: 0.9191 MB / 338.7 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.03743, allocations: 460.6 kB / 339.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005301/0.04273, allocations: 2.516 MB / 341.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002762/0.0455, allocations: 1.017 MB / 342.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.04981, allocations: 1.629 MB / 344.3 MB, free: 1.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003479/0.05329, allocations: 1.212 MB / 345.5 MB, free: 452 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.05441, allocations: 280 kB / 345.8 MB, free: 172 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.05598, allocations: 419.7 kB / 346.2 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.05735, allocations: 0.8335 MB / 347 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.05977, allocations: 0.873 MB / 347.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005292/0.06506, allocations: 3.801 MB / 351.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.06507, allocations: 0 / 351.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.06507, allocations: 0 / 351.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001384/0.06521, allocations: 0 / 351.7 MB, free: 10.23 MB / 318.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.007225/0.07243, allocations: 2.644 MB / 354.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.07247, allocations: 8.031 kB / 354.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.07351, allocations: 295.3 kB / 354.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/0.07639, allocations: 1.333 MB / 356 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.07652, allocations: 139.7 kB / 356.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003736/0.0769, allocations: 191.9 kB / 356.3 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004778/0.08168, allocations: 2.54 MB / 358.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.163e-05/0.08174, allocations: 7.953 kB / 358.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/0.08194, allocations: 76 kB / 358.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/0.0821, allocations: 99.61 kB / 359 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003845/0.08594, allocations: 1.986 MB / 361 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/0.09764, allocations: 6.327 MB / 367.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.09971, allocations: 1.065 MB / 368.4 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.1015, allocations: 0.8186 MB / 369.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.1017, allocations: 48.95 kB / 369.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.1031, allocations: 0.787 MB / 370.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 3.146e-06/0.1031, allocations: 0 / 370.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01799/0.1211, allocations: 6.813 MB / 376.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/0.1212, allocations: 175.2 kB / 377 MB, free: 432 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.1234, allocations: 1.282 MB / 378.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.1235, allocations: 45.7 kB / 378.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.1246, allocations: 0.9692 MB / 379.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.125, allocations: 436.2 kB / 379.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004417/0.1254, allocations: 243.5 kB / 380 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1256, allocations: 361.9 kB / 380.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.1268, allocations: 0.6364 MB / 381 MB, free: 12.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.1285, allocations: 1.11 MB / 382.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.1314, allocations: 1.703 MB / 383.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.1314, allocations: 7.938 kB / 383.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004539/0.1359, allocations: 2.257 MB / 386.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.1359, allocations: 8 kB / 386.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.1359, allocations: 12 kB / 386.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.1373, allocations: 496.2 kB / 386.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.1386, allocations: 299.5 kB / 386.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008506/0.1471, allocations: 6.756 MB / 393.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.1483, allocations: 95.92 kB / 393.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/0.1485, allocations: 56.16 kB / 393.8 MB, free: 15.01 MB / 366.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.001384/0.1499, allocations: 0.6487 MB / 394.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004077/0.1503, allocations: 151 kB / 394.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/0.1546, allocations: 2.062 MB / 396.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.1546, allocations: 12 kB / 396.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.191e-05/0.1546, allocations: 8 kB / 396.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.1546, allocations: 7.922 kB / 396.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008133/0.1627, allocations: 3.869 MB / 400.5 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.1628, allocations: 4 kB / 400.5 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008786/0.1636, allocations: 195.7 kB / 400.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.1652, allocations: 0.5313 MB / 401.3 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.1653, allocations: 31.98 kB / 401.3 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009313/0.1746, allocations: 8.178 MB / 409.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.1746, allocations: 4.031 kB / 409.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005642/0.1803, allocations: 3.009 MB / 412.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008377/0.1811, allocations: 282.9 kB / 412.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/0.1814, allocations: 32 kB / 412.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/0.1823, allocations: 71.92 kB / 412.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/0.1826, allocations: 104.7 kB / 413 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.319e-05/0.1827, allocations: 35.98 kB / 413 MB, free: 11.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.1842, allocations: 0.8779 MB / 413.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1842, allocations: 3.938 kB / 413.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001669/0.1858, allocations: 447.9 kB / 414.3 MB, free: 9.855 MB / 382.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.001946/0.1878, allocations: 0.5086 MB / 414.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003866/0.1916, allocations: 2.035 MB / 416.9 MB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1916, allocations: 4.125 kB / 416.9 MB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.1942, allocations: 1.395 MB / 418.3 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.1961, allocations: 369 kB / 418.6 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007467/0.2036, allocations: 4.1 MB / 422.7 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/0.2054, allocations: 1.129 MB / 423.8 MB, free: 300 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001201/0.2066, allocations: 307.9 kB / 424.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.207, allocations: 100.5 kB / 424.2 MB, free: 15.89 MB / 398.1 MB Notification: Performance of SimCode: time 1.723e-06/0.207, allocations: 0 / 424.2 MB, free: 15.89 MB / 398.1 MB Notification: Performance of Templates: time 0.04602/0.253, allocations: 23.58 MB / 447.8 MB, free: 8.613 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.19249439239502]