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.001616/0.001616, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001081/0.001081, allocations: 161.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.9712/0.9712, allocations: 177.1 MB / 205 MB, free: 5.621 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.452e-06/1.452e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.362e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.008852/0.008876, allocations: 9.384 MB / 282.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004364/0.01324, allocations: 3.015 MB / 285.4 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006228/0.01386, allocations: 59.62 kB / 285.5 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.01496, allocations: 0.6248 MB / 286.1 MB, free: 4.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.0163, allocations: 0.846 MB / 286.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.01675, allocations: 375.3 kB / 287.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.0188, allocations: 2.764 MB / 290.1 MB, free: 396 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.154/0.1728, allocations: 1.124 MB / 291.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.1754, allocations: 1.797 MB / 293 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.1777, allocations: 1.426 MB / 294.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006703/0.1784, allocations: 308.2 kB / 294.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008282/0.1792, allocations: 407.6 kB / 295.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007988/0.18, allocations: 0.9341 MB / 296 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.1815, allocations: 0.9815 MB / 297 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.184, allocations: 2.311 MB / 299.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.184, allocations: 1.719 kB / 299.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.184, allocations: 0 / 299.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.379e-05/0.1841, allocations: 0.9375 kB / 299.3 MB, free: 15.51 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.00355/0.1876, allocations: 3.026 MB / 302.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.1877, allocations: 9.312 kB / 302.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/0.1886, allocations: 0.4922 MB / 302.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.1903, allocations: 1.413 MB / 304.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-05/0.1904, allocations: 153.8 kB / 304.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.1906, allocations: 206.4 kB / 304.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.1926, allocations: 1.687 MB / 306.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.1927, allocations: 10.34 kB / 306.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.1928, allocations: 89.41 kB / 306.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.345e-05/0.1929, allocations: 94.56 kB / 306.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.1942, allocations: 0.7583 MB / 307.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006351/0.2006, allocations: 6.986 MB / 314.2 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/0.2014, allocations: 0.696 MB / 314.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000751/0.2021, allocations: 0.5712 MB / 315.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.2023, allocations: 48.97 kB / 315.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.2023, allocations: 54.33 kB / 315.6 MB, free: 5.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.995e-06/0.2023, allocations: 0 / 315.6 MB, free: 5.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.004557/0.2069, allocations: 3.158 MB / 318.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2069, allocations: 67.97 kB / 318.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.2079, allocations: 1.239 MB / 320.1 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.208, allocations: 45.7 kB / 320.1 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005197/0.2085, allocations: 1.117 MB / 321.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.2088, allocations: 441.4 kB / 321.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/0.2091, allocations: 257.2 kB / 321.9 MB, free: 14.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.2093, allocations: 0.5433 MB / 322.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.2097, allocations: 223.9 kB / 322.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006676/0.2104, allocations: 0.6714 MB / 323.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.2115, allocations: 1.01 MB / 324.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.2115, allocations: 9.438 kB / 324.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00204/0.2136, allocations: 1.258 MB / 325.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.2136, allocations: 15.94 kB / 325.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.2136, allocations: 8 kB / 325.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006982/0.2143, allocations: 218.9 kB / 325.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000922/0.2152, allocations: 322.5 kB / 326.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.2186, allocations: 4.437 MB / 330.6 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/0.2193, allocations: 91.81 kB / 330.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.236e-05/0.2193, allocations: 55.92 kB / 330.8 MB, free: 5.547 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.0005303/0.2199, allocations: 242.8 kB / 331 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.2202, allocations: 195 kB / 331.2 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.222, allocations: 1.073 MB / 332.3 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.222, allocations: 12 kB / 332.3 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2221, allocations: 4 kB / 332.3 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.2221, allocations: 11.58 kB / 332.3 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/0.2267, allocations: 2.962 MB / 335.3 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2267, allocations: 4 kB / 335.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.2274, allocations: 225.9 kB / 335.5 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007795/0.2282, allocations: 295.2 kB / 335.8 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/0.2283, allocations: 27.98 kB / 335.8 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004343/0.2326, allocations: 6.243 MB / 342 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2326, allocations: 4 kB / 342 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.235, allocations: 1.549 MB / 343.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/0.2355, allocations: 290.9 kB / 343.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.2357, allocations: 31.98 kB / 343.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.2362, allocations: 79.86 kB / 344 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.2364, allocations: 116.1 kB / 344.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.2365, allocations: 35.98 kB / 344.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008881/0.2374, allocations: 0.7166 MB / 344.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2374, allocations: 0 / 344.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001324/0.2387, allocations: 463.9 kB / 345.3 MB, free: 6.539 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%), (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.000331/0.239, allocations: 192.4 kB / 345.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.2409, allocations: 1.297 MB / 346.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2409, allocations: 0 / 346.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.2423, allocations: 1.095 MB / 347.9 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.2436, allocations: 404.2 kB / 348.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.2491, allocations: 3.766 MB / 352 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.2496, allocations: 0.5789 MB / 352.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007061/0.2503, allocations: 296.5 kB / 352.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.2506, allocations: 104.5 kB / 353 MB, free: 14.71 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2506, allocations: 0 / 353 MB, free: 14.71 MB / 314.7 MB Notification: Performance of Templates: time 0.03382/0.2845, allocations: 24.7 MB / 377.7 MB, free: 6.422 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.7336352677084506]