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.DCEE_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.001819/0.001819, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002162/0.002162, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.405/1.405, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001889/0.001889, allocations: 67.84 kB / 378.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2182, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009934/0.2282, allocations: 8.061 MB / 440.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004194/0.2324, allocations: 2.641 MB / 442.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005212/0.2329, allocations: 23.94 kB / 442.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.2342, allocations: 0.5676 MB / 443.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000865/0.235, allocations: 496.4 kB / 443.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.2355, allocations: 239.7 kB / 444.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.2369, allocations: 1.432 MB / 445.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006069/0.2375, allocations: 402.8 kB / 445.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006797/0.2382, allocations: 0.5603 MB / 446.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007077/0.2389, allocations: 0.5755 MB / 447 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.239, allocations: 140 kB / 447.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.2393, allocations: 172 kB / 447.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.2395, allocations: 267 kB / 447.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005805/0.2401, allocations: 0.657 MB / 448.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.2419, allocations: 1.7 MB / 450 MB, free: 5.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2419, allocations: 0 / 450 MB, free: 5.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2419, allocations: 0 / 450 MB, free: 5.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.2419, allocations: 0 / 450 MB, free: 5.398 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002359/0.2443, allocations: 1.459 MB / 451.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2443, allocations: 8.031 kB / 451.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005554/0.2449, allocations: 176.1 kB / 451.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.246, allocations: 0.7345 MB / 452.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/0.2461, allocations: 74 kB / 452.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.2462, allocations: 107.9 kB / 452.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.2478, allocations: 0.923 MB / 453.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.2478, allocations: 11.89 kB / 453.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.003e-05/0.2479, allocations: 40 kB / 453.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.2479, allocations: 24 kB / 453.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.2492, allocations: 0.6207 MB / 454.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004984/0.2542, allocations: 3.883 MB / 458 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.2548, allocations: 342.6 kB / 458.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.2551, allocations: 132.8 kB / 458.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.2551, allocations: 7.984 kB / 458.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.2551, allocations: 38.56 kB / 458.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.2551, allocations: 4 kB / 458.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002305/0.2574, allocations: 1.212 MB / 459.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.2575, allocations: 81.11 kB / 459.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.2586, allocations: 0.8214 MB / 460.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.2586, allocations: 33.7 kB / 460.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004629/0.2591, allocations: 0.5811 MB / 461.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.2592, allocations: 134.9 kB / 461.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.2594, allocations: 122.6 kB / 461.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2595, allocations: 334 kB / 461.8 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.2599, allocations: 149.9 kB / 462 MB, free: 8.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.2604, allocations: 456 kB / 462.4 MB, free: 8.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000932/0.2613, allocations: 0.6429 MB / 463.1 MB, free: 7.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.2614, allocations: 7.938 kB / 463.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001208/0.2626, allocations: 0.6885 MB / 463.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2626, allocations: 8 kB / 463.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.2626, allocations: 12.66 kB / 463.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000141/0.2627, allocations: 40.69 kB / 463.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.2633, allocations: 155.8 kB / 464 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.2644, allocations: 1.394 MB / 465.4 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.2648, allocations: 35.98 kB / 465.4 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.2649, allocations: 32 kB / 465.4 MB, free: 4.953 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * 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.0003284/0.2652, allocations: 261.6 kB / 465.7 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.2653, allocations: 95.36 kB / 465.8 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007449/0.2661, allocations: 370.1 kB / 466.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2661, allocations: 4 kB / 466.2 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2661, allocations: 0 / 466.2 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.2663, allocations: 192.5 kB / 466.3 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.2664, allocations: 12 kB / 466.4 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.2668, allocations: 23.97 kB / 466.4 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.2668, allocations: 23.91 kB / 466.4 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009076/0.2678, allocations: 425.9 kB / 466.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009865/0.2687, allocations: 0.6423 MB / 467.5 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002496/0.269, allocations: 116 kB / 467.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007497/0.2697, allocations: 0.5576 MB / 468.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of Backend: time 4.61e-07/0.2697, allocations: 0 / 468.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.2709, allocations: 0.4986 MB / 468.6 MB, free: 1.68 MB / 366.1 MB Notification: Performance of SimCode: time 0.003168/0.2741, allocations: 2.282 MB / 470.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Templates: time 0.01962/0.2937, allocations: 10.71 MB / 481.6 MB, free: 4.75 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.594158161897212]