Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001878/0.001878, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 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.002207/0.002207, allocations: 215 kB / 24.49 MB, free: 3.934 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 7.789 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+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.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_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_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 51.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2208, allocations: 53.37 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009222/0.23, allocations: 7.06 MB / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004006/0.234, allocations: 2.447 MB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.2344, allocations: 27.88 kB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.2357, allocations: 0.5237 MB / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009032/0.2366, allocations: 492.4 kB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.237, allocations: 243.7 kB / 443.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.2384, allocations: 1.424 MB / 444.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000629/0.2391, allocations: 407.3 kB / 445 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006851/0.2398, allocations: 0.5642 MB / 445.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006759/0.2404, allocations: 0.5872 MB / 446.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.2406, allocations: 136 kB / 446.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.2409, allocations: 168 kB / 446.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.2412, allocations: 282.9 kB / 446.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000518/0.2417, allocations: 0.5172 MB / 447.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.2435, allocations: 1.724 MB / 448.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2435, allocations: 4 kB / 448.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2435, allocations: 0 / 448.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.2436, allocations: 0 / 448.9 MB, free: 6.086 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.002412/0.246, allocations: 1.38 MB / 450.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.246, allocations: 8.031 kB / 450.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005862/0.2466, allocations: 176 kB / 450.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.2478, allocations: 0.6651 MB / 451.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-05/0.2479, allocations: 70 kB / 451.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.2481, allocations: 99.95 kB / 451.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.2498, allocations: 0.9943 MB / 452.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.2498, allocations: 8 kB / 452.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/0.2499, allocations: 43.98 kB / 452.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.2499, allocations: 24 kB / 452.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.2512, allocations: 0.6246 MB / 453 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/0.2561, allocations: 3.336 MB / 456.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/0.2567, allocations: 270.5 kB / 456.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.257, allocations: 140.6 kB / 456.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.257, allocations: 4 kB / 456.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.257, allocations: 38.55 kB / 456.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.575e-06/0.257, allocations: 0 / 456.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002253/0.2593, allocations: 1.043 MB / 457.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.2594, allocations: 85.09 kB / 457.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.2604, allocations: 0.7543 MB / 458.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.2604, allocations: 33.64 kB / 458.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.2609, allocations: 0.5928 MB / 459.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.261, allocations: 138.9 kB / 459.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.2612, allocations: 126.6 kB / 459.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.2614, allocations: 378.8 kB / 459.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.2617, allocations: 145.9 kB / 460.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.2623, allocations: 485.7 kB / 460.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009367/0.2632, allocations: 0.6435 MB / 461.2 MB, free: 9.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.2632, allocations: 4 kB / 461.2 MB, free: 9.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001215/0.2644, allocations: 0.6884 MB / 461.9 MB, free: 8.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2644, allocations: 14.81 kB / 461.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.2645, allocations: 8 kB / 461.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.2646, allocations: 29.55 kB / 461.9 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.2651, allocations: 163.7 kB / 462.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.2662, allocations: 1.264 MB / 463.4 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.2667, allocations: 39.92 kB / 463.4 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.2667, allocations: 36.16 kB / 463.4 MB, free: 6.75 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.0003564/0.2671, allocations: 260.5 kB / 463.7 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.2672, allocations: 79.48 kB / 463.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/0.268, allocations: 377.3 kB / 464.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.268, allocations: 0 / 464.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.268, allocations: 0 / 464.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.2682, allocations: 99.47 kB / 464.2 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/0.2683, allocations: 12 kB / 464.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.2687, allocations: 19.98 kB / 464.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.2687, allocations: 23.95 kB / 464.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000908/0.2696, allocations: 409.5 kB / 464.7 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009901/0.2706, allocations: 0.6464 MB / 465.3 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002425/0.2709, allocations: 108 kB / 465.4 MB, free: 4.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006975/0.2716, allocations: 0.5029 MB / 465.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.2716, allocations: 0 / 465.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.2728, allocations: 0.5083 MB / 466.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of SimCode: time 0.003238/0.276, allocations: 2.235 MB / 468.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of Templates: time 0.02049/0.2965, allocations: 11.59 MB / 480.3 MB, free: 6 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.744744761999755]