Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009723/0.0009723, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.011/1.011, allocations: 173.3 MB / 201.1 MB, free: 8.996 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 268 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.339e-05, allocations: 5.969 kB / 268 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01953/0.01957, allocations: 9.368 MB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006175/0.02574, allocations: 2.921 MB / 280.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.02706, allocations: 63.56 kB / 280.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.02884, allocations: 0.6326 MB / 281 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.03117, allocations: 0.8344 MB / 281.8 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.03194, allocations: 367.2 kB / 282.2 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003223/0.03517, allocations: 2.742 MB / 284.9 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.03707, allocations: 1.132 MB / 286.1 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/0.03983, allocations: 1.781 MB / 287.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.04211, allocations: 1.426 MB / 289.3 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006433/0.04275, allocations: 308 kB / 289.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007877/0.04354, allocations: 403.7 kB / 290 MB, free: 188 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1255/0.169, allocations: 0.9277 MB / 290.9 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.1706, allocations: 0.9772 MB / 291.9 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.173, allocations: 2.294 MB / 294.2 MB, free: 18.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.173, allocations: 0 / 294.2 MB, free: 18.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.173, allocations: 0 / 294.2 MB, free: 18.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.442e-05/0.1731, allocations: 1.062 kB / 294.2 MB, free: 18.99 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.003637/0.1767, allocations: 3.012 MB / 297.2 MB, free: 17.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1767, allocations: 14.61 kB / 297.2 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007259/0.1775, allocations: 463.6 kB / 297.6 MB, free: 17.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.1791, allocations: 1.39 MB / 299 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.1792, allocations: 150.8 kB / 299.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.1795, allocations: 210.7 kB / 299.4 MB, free: 17.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.182, allocations: 1.692 MB / 301.1 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.1821, allocations: 9.172 kB / 301.1 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.1822, allocations: 85.72 kB / 301.2 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.832e-05/0.1823, allocations: 95.22 kB / 301.3 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.1838, allocations: 0.7587 MB / 302 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006087/0.1899, allocations: 6.987 MB / 309 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/0.1906, allocations: 0.6904 MB / 309.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007288/0.1914, allocations: 0.5665 MB / 310.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.1915, allocations: 54.86 kB / 310.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1915, allocations: 49.02 kB / 310.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.204e-06/0.1915, allocations: 0 / 310.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.00443/0.196, allocations: 3.165 MB / 313.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.196, allocations: 63.28 kB / 313.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009377/0.1969, allocations: 1.222 MB / 314.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.197, allocations: 49.09 kB / 314.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.1973, allocations: 1.1 MB / 316 MB, free: 8.496 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.1975, allocations: 441.7 kB / 316.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.1977, allocations: 265.1 kB / 316.6 MB, free: 7.801 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.1978, allocations: 0.5472 MB / 317.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.1981, allocations: 219.9 kB / 317.4 MB, free: 7.031 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.1986, allocations: 0.6713 MB / 318.1 MB, free: 6.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008393/0.1994, allocations: 1.024 MB / 319.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.1994, allocations: 4 kB / 319.1 MB, free: 5.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001384/0.2008, allocations: 1.254 MB / 320.4 MB, free: 3.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2008, allocations: 8 kB / 320.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2008, allocations: 8 kB / 320.4 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004772/0.2013, allocations: 222.8 kB / 320.6 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.2019, allocations: 330.3 kB / 320.9 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.204, allocations: 4.432 MB / 325.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.2045, allocations: 87.91 kB / 325.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.125e-05/0.2045, allocations: 52.03 kB / 325.5 MB, free: 14.48 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.0003688/0.2049, allocations: 238.6 kB / 325.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.2051, allocations: 206.9 kB / 325.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.2065, allocations: 1.071 MB / 327 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.2065, allocations: 12 kB / 327 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2065, allocations: 0 / 327 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2065, allocations: 11.97 kB / 327 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.2101, allocations: 2.956 MB / 330 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.2101, allocations: 4.281 kB / 330 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.2106, allocations: 221.4 kB / 330.2 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006209/0.2112, allocations: 287.5 kB / 330.5 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.2113, allocations: 35.98 kB / 330.5 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.2149, allocations: 6.247 MB / 336.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2149, allocations: 4 kB / 336.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.2169, allocations: 1.548 MB / 338.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/0.2174, allocations: 290.9 kB / 338.6 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.2175, allocations: 35.83 kB / 338.6 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.2179, allocations: 67.92 kB / 338.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.2181, allocations: 116.7 kB / 338.8 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/0.2181, allocations: 39.98 kB / 338.8 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007899/0.2189, allocations: 0.7084 MB / 339.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2189, allocations: 4 kB / 339.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001132/0.2201, allocations: 460 kB / 340 MB, free: 15.49 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.0002987/0.2204, allocations: 186.6 kB / 340.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.222, allocations: 1.297 MB / 341.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.222, allocations: 0 / 341.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.223, allocations: 1.1 MB / 342.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.2241, allocations: 403.6 kB / 343 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/0.229, allocations: 3.747 MB / 346.7 MB, free: 8.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.2295, allocations: 0.575 MB / 347.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005546/0.23, allocations: 300.5 kB / 347.6 MB, free: 7.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.2303, allocations: 104.5 kB / 347.7 MB, free: 7.672 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2303, allocations: 4 kB / 347.7 MB, free: 7.668 MB / 298.7 MB Notification: Performance of Templates: time 0.02842/0.2587, allocations: 24.58 MB / 372.3 MB, free: 15.48 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7914558360353112]