Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.0009715/0.0009715, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001033/0.001033, allocations: 169.7 kB / 24.82 MB, free: 9.254 MB / 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.983/0.983, allocations: 177.1 MB / 205.3 MB, free: 5.504 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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.957e-05, allocations: 2.312 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01068/0.01071, allocations: 9.157 MB / 282.6 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005562/0.01627, allocations: 2.984 MB / 285.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008048/0.01708, allocations: 59.62 kB / 285.6 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.01853, allocations: 0.6326 MB / 286.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.02037, allocations: 0.8537 MB / 287.1 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.02142, allocations: 367.4 kB / 287.4 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002679/0.0241, allocations: 2.761 MB / 290.2 MB, free: 428 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1253/0.1494, allocations: 1.125 MB / 291.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.1531, allocations: 1.949 MB / 293.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.1556, allocations: 1.378 MB / 294.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.1567, allocations: 298.6 kB / 294.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.1582, allocations: 397.5 kB / 295.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.1593, allocations: 0.8983 MB / 296.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002563/0.1618, allocations: 0.9629 MB / 297.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003839/0.1657, allocations: 2.274 MB / 299.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1657, allocations: 1.062 kB / 299.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1657, allocations: 0.8438 kB / 299.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001381/0.1658, allocations: 3.938 kB / 299.5 MB, free: 15.64 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005539/0.1714, allocations: 2.905 MB / 302.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1714, allocations: 12.59 kB / 302.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.1728, allocations: 493.1 kB / 302.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.1747, allocations: 1.343 MB / 304.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.1748, allocations: 151.4 kB / 304.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.175, allocations: 209 kB / 304.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.1774, allocations: 1.557 MB / 306.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/0.1775, allocations: 3 kB / 306.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.1776, allocations: 93.41 kB / 306.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.051e-05/0.1777, allocations: 94.91 kB / 306.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.1787, allocations: 0.5952 MB / 306.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008175/0.1869, allocations: 6.789 MB / 313.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.1876, allocations: 0.6548 MB / 314.4 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/0.1882, allocations: 0.4915 MB / 314.8 MB, free: 6.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.1883, allocations: 59.2 kB / 314.9 MB, free: 6.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1884, allocations: 50.33 kB / 314.9 MB, free: 6.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.755e-06/0.1884, allocations: 0 / 314.9 MB, free: 6.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.004272/0.1926, allocations: 2.471 MB / 317.4 MB, free: 4.059 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.1927, allocations: 64.41 kB / 317.5 MB, free: 3.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009732/0.1936, allocations: 1.201 MB / 318.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.1937, allocations: 46.64 kB / 318.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000406/0.1941, allocations: 1.118 MB / 319.8 MB, free: 1.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.1943, allocations: 450.7 kB / 320.3 MB, free: 1.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.1945, allocations: 260.9 kB / 320.5 MB, free: 1.164 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.1946, allocations: 0.5505 MB / 321.1 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.1948, allocations: 171.9 kB / 321.3 MB, free: 476 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.1952, allocations: 0.6334 MB / 321.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/0.1961, allocations: 0.9184 MB / 322.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.1961, allocations: 4 kB / 322.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001611/0.1977, allocations: 1.136 MB / 324 MB, free: 13.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.1977, allocations: 8 kB / 324 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.1977, allocations: 12.38 kB / 324 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005171/0.1983, allocations: 222.8 kB / 324.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.1989, allocations: 293.6 kB / 324.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.2014, allocations: 4.286 MB / 328.8 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007271/0.2022, allocations: 51.14 kB / 328.8 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.2022, allocations: 43.98 kB / 328.9 MB, free: 8.508 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: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006136/0.2028, allocations: 240.6 kB / 329.1 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.2031, allocations: 199 kB / 329.3 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.2042, allocations: 0.9635 MB / 330.2 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2043, allocations: 12 kB / 330.3 MB, free: 7.094 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.2043, allocations: 7.984 kB / 330.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2043, allocations: 3.984 kB / 330.3 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.2075, allocations: 2.423 MB / 332.7 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2075, allocations: 0 / 332.7 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.208, allocations: 198.2 kB / 332.9 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005687/0.2086, allocations: 268.2 kB / 333.2 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-05/0.2087, allocations: 35.92 kB / 333.2 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003098/0.2117, allocations: 6.023 MB / 339.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.2118, allocations: 3.797 kB / 339.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.2136, allocations: 1.41 MB / 340.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.2141, allocations: 258.8 kB / 340.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.2142, allocations: 27.98 kB / 340.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.2145, allocations: 51.64 kB / 341 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.2148, allocations: 100.8 kB / 341.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.2148, allocations: 27.98 kB / 341.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007499/0.2156, allocations: 0.6533 MB / 341.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2156, allocations: 0 / 341.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001328/0.2169, allocations: 451.9 kB / 342.2 MB, free: 11.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0002867/0.2172, allocations: 193.3 kB / 342.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.2185, allocations: 1.16 MB / 343.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2185, allocations: 4.625 kB / 343.5 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008322/0.2194, allocations: 0.985 MB / 344.5 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.2204, allocations: 405.9 kB / 344.9 MB, free: 8.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.2249, allocations: 3.729 MB / 348.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.2253, allocations: 0.5711 MB / 349.2 MB, free: 3.941 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004711/0.2258, allocations: 204.6 kB / 349.4 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/0.2264, allocations: 449.9 kB / 349.8 MB, free: 3.293 MB / 298.7 MB Notification: Performance of SimCode: time 1.113e-06/0.2264, allocations: 0 / 349.8 MB, free: 3.293 MB / 298.7 MB Notification: Performance of Templates: time 0.03175/0.2582, allocations: 25.55 MB / 375.4 MB, free: 10.23 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5025099799968302]