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.001299/0.001299, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001092/0.001092, allocations: 170.5 kB / 24.91 MB, free: 8.777 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.9577/0.9577, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.423e-06/1.423e-06, allocations: 3.938 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.185e-05, allocations: 2.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.008202/0.008224, allocations: 9.173 MB / 282.6 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005022/0.01325, allocations: 3.08 MB / 285.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009899/0.01424, allocations: 63.56 kB / 285.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.01553, allocations: 0.6403 MB / 286.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.01731, allocations: 0.8577 MB / 287.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.01798, allocations: 367.4 kB / 287.6 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003021/0.021, allocations: 2.779 MB / 290.4 MB, free: 276 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1104/0.1314, allocations: 1.151 MB / 291.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.1343, allocations: 1.936 MB / 293.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.1362, allocations: 1.367 MB / 294.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005026/0.1367, allocations: 301.2 kB / 295.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007643/0.1374, allocations: 395.9 kB / 295.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007111/0.1381, allocations: 0.8949 MB / 296.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.1394, allocations: 0.9617 MB / 297.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.142, allocations: 2.273 MB / 299.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.142, allocations: 0.8125 kB / 299.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.142, allocations: 0 / 299.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.404e-05/0.1421, allocations: 3.938 kB / 299.7 MB, free: 15.59 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.003394/0.1455, allocations: 2.643 MB / 302.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1455, allocations: 9.625 kB / 302.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007435/0.1463, allocations: 401.5 kB / 302.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.1477, allocations: 1.034 MB / 303.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/0.1478, allocations: 151.8 kB / 303.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.148, allocations: 209.6 kB / 304.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.1496, allocations: 1.575 MB / 305.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.1496, allocations: 6.984 kB / 305.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.1497, allocations: 95.11 kB / 305.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.1498, allocations: 95.73 kB / 305.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.1506, allocations: 0.5966 MB / 306.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005507/0.1561, allocations: 5.39 MB / 311.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/0.1568, allocations: 0.6571 MB / 312.5 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.1573, allocations: 484.1 kB / 313 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.1575, allocations: 40.98 kB / 313 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1575, allocations: 51.5 kB / 313.1 MB, free: 8.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.935e-06/0.1575, allocations: 0 / 313.1 MB, free: 8.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.004196/0.1617, allocations: 2.497 MB / 315.6 MB, free: 5.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.1617, allocations: 72.39 kB / 315.6 MB, free: 5.906 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.1623, allocations: 0.983 MB / 316.6 MB, free: 5.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.1624, allocations: 45.7 kB / 316.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.1626, allocations: 0.8339 MB / 317.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.1627, allocations: 429.3 kB / 317.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.1629, allocations: 237.7 kB / 318.2 MB, free: 3.648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.163, allocations: 372.2 kB / 318.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.1632, allocations: 166.7 kB / 318.7 MB, free: 3.145 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.1634, allocations: 488.7 kB / 319.2 MB, free: 2.574 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/0.164, allocations: 0.7904 MB / 319.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.164, allocations: 4 kB / 320 MB, free: 1.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001018/0.165, allocations: 0.9164 MB / 320.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1651, allocations: 10.19 kB / 320.9 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1651, allocations: 8 kB / 320.9 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004363/0.1655, allocations: 214 kB / 321.1 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.1661, allocations: 294.3 kB / 321.4 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.1681, allocations: 3.156 MB / 324.5 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/0.1687, allocations: 40 kB / 324.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/0.1688, allocations: 43.98 kB / 324.6 MB, free: 12.98 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.0005411/0.1693, allocations: 200.3 kB / 324.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.1695, allocations: 135.9 kB / 324.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.1706, allocations: 0.8248 MB / 325.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.1706, allocations: 12 kB / 325.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1706, allocations: 4 kB / 325.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.1706, allocations: 7.453 kB / 325.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/0.1735, allocations: 2.075 MB / 327.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1735, allocations: 4 kB / 327.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.174, allocations: 195 kB / 328.1 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006135/0.1747, allocations: 306.3 kB / 328.4 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.02e-05/0.1747, allocations: 31.98 kB / 328.4 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.1772, allocations: 4.368 MB / 332.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1772, allocations: 0 / 332.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.1789, allocations: 1.197 MB / 334 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.1794, allocations: 205.4 kB / 334.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.1795, allocations: 28 kB / 334.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.1799, allocations: 43.97 kB / 334.2 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.18, allocations: 104.4 kB / 334.3 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.1801, allocations: 27.98 kB / 334.4 MB, free: 3.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004628/0.1805, allocations: 500 kB / 334.8 MB, free: 2.656 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1805, allocations: 0 / 334.8 MB, free: 2.656 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001122/0.1816, allocations: 455.9 kB / 335.3 MB, free: 2.211 MB / 282.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.0002619/0.1819, allocations: 166.8 kB / 335.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.183, allocations: 0.9793 MB / 336.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/0.183, allocations: 16.5 kB / 336.5 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007287/0.1838, allocations: 0.7898 MB / 337.2 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009701/0.1847, allocations: 393.6 kB / 337.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004974/0.1897, allocations: 3.585 MB / 341.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.1902, allocations: 0.497 MB / 341.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006677/0.1908, allocations: 188.7 kB / 341.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006386/0.1915, allocations: 393.1 kB / 342.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1915, allocations: 4 kB / 342.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Templates: time 0.03261/0.2241, allocations: 25.38 MB / 367.7 MB, free: 2.297 MB / 314.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.324862341862172]