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.001396/0.001396, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001623/0.001623, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.662/1.662, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.001668/0.001668, allocations: 47.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4275, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01006/0.4375, allocations: 7.078 MB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005211/0.4427, allocations: 2.443 MB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.444, allocations: 27.88 kB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.4462, allocations: 0.5206 MB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.4482, allocations: 492.4 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.4489, allocations: 243.7 kB / 443.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.4511, allocations: 1.424 MB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000728/0.4518, allocations: 403.3 kB / 444.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.4529, allocations: 0.5759 MB / 445.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007922/0.4537, allocations: 0.5755 MB / 446.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.454, allocations: 136 kB / 446.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.4544, allocations: 180 kB / 446.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.4546, allocations: 274.9 kB / 446.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005919/0.4552, allocations: 0.525 MB / 447.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.4575, allocations: 1.712 MB / 448.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4575, allocations: 0 / 448.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4575, allocations: 0 / 448.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.4575, allocations: 4 kB / 448.9 MB, free: 6.062 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.002962/0.4605, allocations: 1.392 MB / 450.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4605, allocations: 8.031 kB / 450.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006329/0.4611, allocations: 176.1 kB / 450.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.4626, allocations: 0.665 MB / 451.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.4626, allocations: 66 kB / 451.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.4628, allocations: 104 kB / 451.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.4645, allocations: 0.9982 MB / 452.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.4646, allocations: 3.953 kB / 452.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.048e-05/0.4647, allocations: 36 kB / 452.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.4647, allocations: 24 kB / 452.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.4659, allocations: 0.6246 MB / 453 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005368/0.4713, allocations: 3.329 MB / 456.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.4719, allocations: 278.5 kB / 456.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.4722, allocations: 140.6 kB / 456.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.4722, allocations: 4 kB / 456.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4722, allocations: 38.56 kB / 456.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.364e-06/0.4722, allocations: 0 / 456.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002599/0.4748, allocations: 1.043 MB / 457.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.4749, allocations: 85.11 kB / 457.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.476, allocations: 0.7465 MB / 458.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.4761, allocations: 37.64 kB / 458.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/0.4765, allocations: 0.5889 MB / 459.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.4767, allocations: 134.9 kB / 459.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.4769, allocations: 134.6 kB / 459.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.4771, allocations: 382.8 kB / 459.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.4774, allocations: 145.9 kB / 460.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007858/0.4782, allocations: 485.6 kB / 460.5 MB, free: 9.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4792, allocations: 0.6435 MB / 461.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.4792, allocations: 4 kB / 461.2 MB, free: 9.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001421/0.4806, allocations: 0.6849 MB / 461.9 MB, free: 8.375 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4807, allocations: 8 kB / 461.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.4807, allocations: 16 kB / 461.9 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.4809, allocations: 32.84 kB / 461.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.4814, allocations: 160.1 kB / 462.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.4826, allocations: 1.26 MB / 463.3 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/0.4833, allocations: 39.94 kB / 463.4 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.4834, allocations: 32 kB / 463.4 MB, free: 6.73 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.0005246/0.4839, allocations: 263.7 kB / 463.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.484, allocations: 83.48 kB / 463.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007915/0.4848, allocations: 373.4 kB / 464.1 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4848, allocations: 4.047 kB / 464.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4848, allocations: 7.969 kB / 464.1 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4849, allocations: 0 / 464.1 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.4868, allocations: 1.04 MB / 465.2 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4868, allocations: 0 / 465.2 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.4871, allocations: 67.91 kB / 465.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.4873, allocations: 24.84 kB / 465.2 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.4873, allocations: 8.219 kB / 465.3 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.4884, allocations: 1.256 MB / 466.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4884, allocations: 3.938 kB / 466.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.4897, allocations: 0.6247 MB / 467.1 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.49, allocations: 107.5 kB / 467.2 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/0.49, allocations: 8 kB / 467.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.4904, allocations: 27.92 kB / 467.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.4905, allocations: 31.88 kB / 467.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.4905, allocations: 12 kB / 467.3 MB, free: 2.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00076/0.4913, allocations: 0.499 MB / 467.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4913, allocations: 0 / 467.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008294/0.4921, allocations: 195.9 kB / 468 MB, free: 1.887 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.0002404/0.4923, allocations: 119.2 kB / 468.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.4934, allocations: 499.9 kB / 468.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4934, allocations: 0.6875 kB / 468.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.4939, allocations: 258.6 kB / 468.9 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.495, allocations: 193.9 kB / 469.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.4991, allocations: 1.712 MB / 470.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.4996, allocations: 408.5 kB / 471.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004972/0.5001, allocations: 94.3 kB / 471.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.5003, allocations: 47.44 kB / 471.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.773e-06/0.5003, allocations: 4 kB / 471.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of Templates: time 0.02277/0.523, allocations: 10.58 MB / 481.9 MB, free: 4.102 MB / 382.1 MB " [Timeout remaining time 659] 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 -s cvode -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: 5.708400233997963]