Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001302/0.001302, allocations: 82.47 kB / 21.43 MB, free: 296 kB / 14.72 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.001452/0.001452, allocations: 164.2 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.461e-05, allocations: 2.281 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009522/0.009546, allocations: 7.098 MB / 306.1 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004744/0.01429, allocations: 2.495 MB / 308.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.01497, allocations: 27.88 kB / 308.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.0164, allocations: 0.5285 MB / 309.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.01779, allocations: 0.5116 MB / 309.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.01837, allocations: 251.6 kB / 309.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002071/0.02044, allocations: 1.54 MB / 311.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007178/0.02115, allocations: 371.2 kB / 311.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.0224, allocations: 0.8534 MB / 312.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006212/0.02302, allocations: 442.6 kB / 313.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.02321, allocations: 136 kB / 313.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.02357, allocations: 179.9 kB / 313.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.02382, allocations: 286.9 kB / 313.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005456/0.02436, allocations: 466.8 kB / 314.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.02648, allocations: 1.721 MB / 315.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.02648, allocations: 0 / 315.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.02648, allocations: 0 / 315.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.02651, allocations: 3.938 kB / 315.8 MB, free: 7.75 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002554/0.02906, allocations: 1.399 MB / 317.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.02911, allocations: 19.92 kB / 317.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006951/0.0298, allocations: 188 kB / 317.4 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.0311, allocations: 0.6767 MB / 318.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/0.03116, allocations: 70 kB / 318.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.03131, allocations: 99.95 kB / 318.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.03307, allocations: 1.035 MB / 319.3 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.03311, allocations: 3.953 kB / 319.3 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/0.0332, allocations: 44 kB / 319.4 MB, free: 4.105 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.03322, allocations: 28 kB / 319.4 MB, free: 4.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.03452, allocations: 0.6363 MB / 320 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1385/0.173, allocations: 3.349 MB / 323.4 MB, free: 33.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.1738, allocations: 340.9 kB / 323.7 MB, free: 33.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/0.1744, allocations: 253.7 kB / 323.9 MB, free: 33.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.1744, allocations: 5.172 kB / 323.9 MB, free: 33.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1744, allocations: 38.67 kB / 324 MB, free: 33.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.1744, allocations: 0 / 324 MB, free: 33.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002511/0.1769, allocations: 1.242 MB / 325.2 MB, free: 33.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.177, allocations: 90.38 kB / 325.3 MB, free: 33.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009019/0.1779, allocations: 0.754 MB / 326.1 MB, free: 32.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1779, allocations: 36.72 kB / 326.1 MB, free: 32.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.1782, allocations: 0.5791 MB / 326.7 MB, free: 32.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.246e-05/0.1782, allocations: 162.7 kB / 326.8 MB, free: 32.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1784, allocations: 133.8 kB / 327 MB, free: 32.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.1785, allocations: 383.3 kB / 327.4 MB, free: 31.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.1788, allocations: 169.9 kB / 327.5 MB, free: 31.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.1792, allocations: 485.8 kB / 328 MB, free: 31.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/0.1799, allocations: 0.6648 MB / 328.7 MB, free: 30.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.1799, allocations: 2.812 kB / 328.7 MB, free: 30.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001161/0.1811, allocations: 0.7552 MB / 329.4 MB, free: 30.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1811, allocations: 9.625 kB / 329.4 MB, free: 30.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.1811, allocations: 11.59 kB / 329.4 MB, free: 30.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/0.1814, allocations: 80.84 kB / 329.5 MB, free: 30.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.1818, allocations: 153.4 kB / 329.7 MB, free: 30.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.1834, allocations: 2.873 MB / 332.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.184, allocations: 35.77 kB / 332.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.184, allocations: 39.94 kB / 332.6 MB, free: 27.58 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003466/0.1844, allocations: 257 kB / 332.9 MB, free: 27.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1845, allocations: 82.41 kB / 332.9 MB, free: 27.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008415/0.1853, allocations: 487 kB / 333.4 MB, free: 27.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1853, allocations: 5.516 kB / 333.4 MB, free: 27.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1853, allocations: 9.375 kB / 333.4 MB, free: 27.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1853, allocations: 4.234 kB / 333.4 MB, free: 27.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.187, allocations: 1.183 MB / 334.6 MB, free: 26.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.187, allocations: 1.938 kB / 334.6 MB, free: 26.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.1873, allocations: 71.11 kB / 334.7 MB, free: 26.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/0.1875, allocations: 76.78 kB / 334.8 MB, free: 26.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.1875, allocations: 15.86 kB / 334.8 MB, free: 26.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.189, allocations: 2.862 MB / 337.6 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.189, allocations: 2.188 kB / 337.6 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1901, allocations: 0.7613 MB / 338.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.1903, allocations: 119.7 kB / 338.5 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.854e-05/0.1904, allocations: 13.39 kB / 338.5 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.1908, allocations: 23.97 kB / 338.6 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.1909, allocations: 43.7 kB / 338.6 MB, free: 23.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.1909, allocations: 11.48 kB / 338.6 MB, free: 23.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006702/0.1916, allocations: 0.506 MB / 339.1 MB, free: 22.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1916, allocations: 1.031 kB / 339.1 MB, free: 22.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008915/0.1925, allocations: 203.8 kB / 339.3 MB, free: 22.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,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.0001889/0.1927, allocations: 126.9 kB / 339.4 MB, free: 22.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.1937, allocations: 0.6738 MB / 340.1 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1937, allocations: 0.9688 kB / 340.1 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005697/0.1943, allocations: 429.2 kB / 340.5 MB, free: 22.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009508/0.1953, allocations: 198.1 kB / 340.7 MB, free: 21.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.1975, allocations: 1.627 MB / 342.4 MB, free: 21.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.1979, allocations: 420.8 kB / 342.8 MB, free: 20.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000315/0.1983, allocations: 97.19 kB / 342.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.1984, allocations: 52.36 kB / 342.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1984, allocations: 7.875 kB / 342.9 MB, free: 20.86 MB / 302.1 MB Notification: Performance of Templates: time 0.01527/0.2136, allocations: 10.01 MB / 352.9 MB, free: 14.14 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.639171946793795]