Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 75.81 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2202, allocations: 53.32 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008739/0.2289, allocations: 7.22 MB / 439.3 MB, free: 144 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003639/0.2326, allocations: 2.395 MB / 441.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003652/0.233, allocations: 19.94 kB / 441.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.2341, allocations: 0.5126 MB / 442.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007539/0.2349, allocations: 413 kB / 442.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.2353, allocations: 203.7 kB / 442.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.2365, allocations: 1.199 MB / 444 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00053/0.237, allocations: 344 kB / 444.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005796/0.2376, allocations: 470.1 kB / 444.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.2382, allocations: 0.49 MB / 445.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.2383, allocations: 112 kB / 445.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.2386, allocations: 159.9 kB / 445.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.2388, allocations: 231.2 kB / 445.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000489/0.2393, allocations: 0.5365 MB / 446.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.2408, allocations: 1.444 MB / 447.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2408, allocations: 0 / 447.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.2408, allocations: 4 kB / 447.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.2408, allocations: 0 / 447.8 MB, free: 7.594 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002073/0.2429, allocations: 1.269 MB / 449 MB, free: 6.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2429, allocations: 12.03 kB / 449.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004924/0.2434, allocations: 152.2 kB / 449.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.2445, allocations: 0.646 MB / 449.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.2445, allocations: 62.31 kB / 449.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2446, allocations: 84.33 kB / 450 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.246, allocations: 0.7832 MB / 450.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.246, allocations: 4 kB / 450.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.246, allocations: 35.94 kB / 450.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.2461, allocations: 16 kB / 450.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.2471, allocations: 0.5231 MB / 451.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004174/0.2513, allocations: 3.377 MB / 454.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.2518, allocations: 214.6 kB / 454.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.252, allocations: 112.8 kB / 455.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.2521, allocations: 4 kB / 455.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.2521, allocations: 38.5 kB / 455.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.2521, allocations: 0 / 455.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002026/0.2541, allocations: 1.056 MB / 456.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.2542, allocations: 81.34 kB / 456.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009597/0.2551, allocations: 0.7388 MB / 457 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.2552, allocations: 29.7 kB / 457 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.2555, allocations: 0.5112 MB / 457.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/0.2556, allocations: 107.1 kB / 457.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.2558, allocations: 110.2 kB / 457.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.256, allocations: 378.8 kB / 458.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.2563, allocations: 129.2 kB / 458.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.2568, allocations: 418.2 kB / 458.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008221/0.2576, allocations: 0.5637 MB / 459.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2576, allocations: 4 kB / 459.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0011/0.2587, allocations: 0.6234 MB / 459.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2587, allocations: 8 kB / 459.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.2587, allocations: 16 kB / 459.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/0.2589, allocations: 36.88 kB / 459.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.2593, allocations: 139.8 kB / 460 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.2604, allocations: 1.387 MB / 461.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.2609, allocations: 35.88 kB / 461.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.2609, allocations: 32 kB / 461.5 MB, free: 9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002913/0.2612, allocations: 237.7 kB / 461.7 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2613, allocations: 71.53 kB / 461.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000656/0.262, allocations: 321.3 kB / 462.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.262, allocations: 7.984 kB / 462.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.262, allocations: 0 / 462.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.2622, allocations: 172.6 kB / 462.3 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/0.2623, allocations: 11.94 kB / 462.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.2626, allocations: 19.97 kB / 462.3 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.2626, allocations: 15.98 kB / 462.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007984/0.2634, allocations: 369.6 kB / 462.7 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008742/0.2643, allocations: 0.5813 MB / 463.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002194/0.2645, allocations: 96 kB / 463.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006655/0.2652, allocations: 0.499 MB / 463.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of Backend: time 3.9e-07/0.2652, allocations: 0 / 463.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.2664, allocations: 470.7 kB / 464.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of SimCode: time 0.002761/0.2691, allocations: 1.993 MB / 466.3 MB, free: 4.043 MB / 366.1 MB Notification: Performance of Templates: time 0.01728/0.2864, allocations: 9.134 MB / 475.4 MB, free: 11 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.5046616601757705]