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.001851/0.001851, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001907/0.001907, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.543/1.543, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.522e-05, allocations: 2.312 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01332/0.01335, allocations: 9.393 MB / 281.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00749/0.02084, allocations: 3.544 MB / 285.2 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.02207, allocations: 63.56 kB / 285.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.02404, allocations: 0.7338 MB / 286 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.02658, allocations: 0.916 MB / 286.9 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.0277, allocations: 458.9 kB / 287.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003089/0.03078, allocations: 2.519 MB / 289.8 MB, free: 76 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1197/0.1505, allocations: 1.005 MB / 290.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/0.1533, allocations: 1.646 MB / 292.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.1554, allocations: 1.302 MB / 293.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004889/0.1558, allocations: 281.7 kB / 294.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009706/0.1568, allocations: 421.7 kB / 294.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008572/0.1577, allocations: 0.8494 MB / 295.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.1589, allocations: 0.8831 MB / 296.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.1631, allocations: 3.827 MB / 300 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1631, allocations: 0 / 300 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1631, allocations: 0 / 300 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.615e-05/0.1632, allocations: 0 / 300 MB, free: 15.2 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.00589/0.1691, allocations: 3.022 MB / 303.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1691, allocations: 13.58 kB / 303.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.1702, allocations: 444.1 kB / 303.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.1726, allocations: 1.309 MB / 304.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.1728, allocations: 143.4 kB / 305 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002913/0.1731, allocations: 193.5 kB / 305.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003531/0.1766, allocations: 2.331 MB / 307.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-05/0.1767, allocations: 13.03 kB / 307.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.1768, allocations: 76.8 kB / 307.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-05/0.1769, allocations: 93.75 kB / 307.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.1795, allocations: 1.474 MB / 309.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.191, allocations: 8.557 MB / 317.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.1922, allocations: 0.7701 MB / 318.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.1933, allocations: 0.5984 MB / 319.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.1935, allocations: 50.94 kB / 319.1 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007456/0.1943, allocations: 0.645 MB / 319.8 MB, free: 232 kB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.504e-06/0.1943, allocations: 0 / 319.8 MB, free: 232 kB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.01252/0.2068, allocations: 4.396 MB / 324.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.2069, allocations: 179.2 kB / 324.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.2093, allocations: 1.493 MB / 325.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.2094, allocations: 49.7 kB / 325.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.2107, allocations: 1.1 MB / 327 MB, free: 8.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005294/0.2112, allocations: 479.5 kB / 327.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000525/0.2118, allocations: 293.2 kB / 327.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003902/0.2121, allocations: 0.5862 MB / 328.3 MB, free: 7.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007951/0.2129, allocations: 347.2 kB / 328.6 MB, free: 7.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.2143, allocations: 0.9785 MB / 329.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.2168, allocations: 1.307 MB / 330.9 MB, free: 4.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.2168, allocations: 8 kB / 330.9 MB, free: 4.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003557/0.2203, allocations: 1.58 MB / 332.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2204, allocations: 12.19 kB / 332.5 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.2204, allocations: 12 kB / 332.5 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.2216, allocations: 327.7 kB / 332.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.2228, allocations: 297 kB / 333.2 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00791/0.2307, allocations: 6.996 MB / 340.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.232, allocations: 91.95 kB / 340.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.2321, allocations: 55.98 kB / 340.3 MB, free: 10.95 MB / 298.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.001125/0.2333, allocations: 0.5212 MB / 340.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/0.2337, allocations: 195 kB / 341 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/0.237, allocations: 1.354 MB / 342.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.237, allocations: 12 kB / 342.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.237, allocations: 4 kB / 342.4 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.237, allocations: 7.969 kB / 342.4 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008525/0.2455, allocations: 3.651 MB / 346 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.2455, allocations: 4 kB / 346 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.2464, allocations: 199 kB / 346.2 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.2479, allocations: 368.8 kB / 346.6 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.248, allocations: 39.92 kB / 346.6 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009321/0.2573, allocations: 8.724 MB / 355.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/0.2573, allocations: 7.938 kB / 355.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004552/0.2618, allocations: 1.995 MB / 357.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009596/0.2628, allocations: 274.9 kB / 357.6 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.263, allocations: 31.98 kB / 357.7 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007994/0.2638, allocations: 67.92 kB / 357.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.2641, allocations: 112.2 kB / 357.8 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.744e-05/0.2642, allocations: 43.98 kB / 357.9 MB, free: 8.812 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001512/0.2657, allocations: 0.872 MB / 358.7 MB, free: 7.938 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2657, allocations: 0 / 358.7 MB, free: 7.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001937/0.2676, allocations: 447.9 kB / 359.2 MB, free: 7.5 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.003238/0.2709, allocations: 0.515 MB / 359.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003962/0.2748, allocations: 1.761 MB / 361.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.2748, allocations: 0 / 361.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002519/0.2774, allocations: 1.426 MB / 362.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.2795, allocations: 362.2 kB / 363.2 MB, free: 3.594 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/0.2869, allocations: 3.757 MB / 367 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/0.2888, allocations: 1.067 MB / 368.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001136/0.2899, allocations: 263.8 kB / 368.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.2902, allocations: 104.5 kB / 368.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2902, allocations: 0 / 368.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of Templates: time 0.04674/0.337, allocations: 23.75 MB / 392.2 MB, free: 6.914 MB / 346.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.50222488201689]