Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 188.2 kB / 23.72 MB, free: 4.711 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 47.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2484, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01026/0.2587, allocations: 8.063 MB / 431.2 MB, free: 6.574 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004685/0.2634, allocations: 2.602 MB / 433.8 MB, free: 3.969 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008782/0.2642, allocations: 27.88 kB / 433.8 MB, free: 3.941 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001747/0.266, allocations: 0.5637 MB / 434.4 MB, free: 3.375 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001474/0.2675, allocations: 496.4 kB / 434.9 MB, free: 2.887 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.268, allocations: 243.6 kB / 435.1 MB, free: 2.648 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001802/0.2698, allocations: 1.432 MB / 436.5 MB, free: 1.211 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006886/0.2705, allocations: 403.3 kB / 436.9 MB, free: 0.793 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007878/0.2713, allocations: 0.5564 MB / 437.5 MB, free: 240 kB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007641/0.2721, allocations: 0.5872 MB / 438.1 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.2723, allocations: 140 kB / 438.2 MB, free: 15.51 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.2726, allocations: 172 kB / 438.4 MB, free: 15.34 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.2729, allocations: 275 kB / 438.6 MB, free: 15.07 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006477/0.2735, allocations: 0.6454 MB / 439.3 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002037/0.2756, allocations: 1.708 MB / 441 MB, free: 12.71 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2756, allocations: 0 / 441 MB, free: 12.71 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.523e-06/0.2756, allocations: 0 / 441 MB, free: 12.71 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.807e-05/0.2756, allocations: 0 / 441 MB, free: 12.71 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.002628/0.2782, allocations: 1.384 MB / 442.4 MB, free: 11.29 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2783, allocations: 8.031 kB / 442.4 MB, free: 11.28 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005885/0.2789, allocations: 184 kB / 442.6 MB, free: 11.1 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.2801, allocations: 0.665 MB / 443.2 MB, free: 10.41 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.039e-05/0.2802, allocations: 70 kB / 443.3 MB, free: 10.34 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.2803, allocations: 96 kB / 443.4 MB, free: 10.25 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.282, allocations: 0.919 MB / 444.3 MB, free: 9.297 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.282, allocations: 11.95 kB / 444.3 MB, free: 9.285 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/0.2821, allocations: 39.98 kB / 444.4 MB, free: 9.246 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.2821, allocations: 24 kB / 444.4 MB, free: 9.223 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.2835, allocations: 0.6246 MB / 445 MB, free: 8.598 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005163/0.2887, allocations: 3.765 MB / 448.8 MB, free: 4.598 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.2892, allocations: 266.5 kB / 449 MB, free: 4.328 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.2895, allocations: 132.8 kB / 449.2 MB, free: 4.195 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.2896, allocations: 7.938 kB / 449.2 MB, free: 4.188 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.2896, allocations: 42.55 kB / 449.2 MB, free: 4.137 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.2896, allocations: 4 kB / 449.2 MB, free: 4.133 MB / 350.1 MB
Notification: Performance of matching and sorting (n=35): time 0.002292/0.2919, allocations: 1.062 MB / 450.3 MB, free: 3.035 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.292, allocations: 85.09 kB / 450.4 MB, free: 2.934 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.2931, allocations: 0.8176 MB / 451.2 MB, free: 2.109 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.2931, allocations: 33.7 kB / 451.2 MB, free: 2.07 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.2936, allocations: 0.5811 MB / 451.8 MB, free: 1.48 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.2937, allocations: 142.8 kB / 451.9 MB, free: 1.34 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.2939, allocations: 126.6 kB / 452.1 MB, free: 1.211 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001582/0.294, allocations: 330 kB / 452.4 MB, free: 0.8828 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.2944, allocations: 153.9 kB / 452.5 MB, free: 0.7305 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.295, allocations: 452 kB / 453 MB, free: 148 kB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.296, allocations: 0.6408 MB / 453.6 MB, free: 15.36 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.296, allocations: 4 kB / 453.6 MB, free: 15.36 MB / 366.1 MB
Notification: Performance of matching and sorting (n=85) (initialization): time 0.001306/0.2973, allocations: 0.6885 MB / 454.3 MB, free: 14.66 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.2973, allocations: 12 kB / 454.3 MB, free: 14.64 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.2973, allocations: 8.656 kB / 454.3 MB, free: 14.64 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.2975, allocations: 40.84 kB / 454.4 MB, free: 14.59 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.298, allocations: 155.7 kB / 454.5 MB, free: 14.44 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.2992, allocations: 1.283 MB / 455.8 MB, free: 13.05 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/0.2997, allocations: 39.94 kB / 455.8 MB, free: 13.01 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.2997, allocations: 32 kB / 455.9 MB, free: 12.98 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.0004001/0.3001, allocations: 258.2 kB / 456.1 MB, free: 12.71 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.3003, allocations: 91.38 kB / 456.2 MB, free: 12.62 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007997/0.3011, allocations: 378.1 kB / 456.6 MB, free: 12.24 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3011, allocations: 4.047 kB / 456.6 MB, free: 12.23 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3011, allocations: 3.984 kB / 456.6 MB, free: 12.23 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3011, allocations: 0 / 456.6 MB, free: 12.23 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.3031, allocations: 1.231 MB / 457.8 MB, free: 10.93 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3031, allocations: 8.062 kB / 457.8 MB, free: 10.92 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.3035, allocations: 79.83 kB / 457.9 MB, free: 10.84 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-05/0.3035, allocations: 16.84 kB / 457.9 MB, free: 10.82 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.3036, allocations: 12 kB / 457.9 MB, free: 10.81 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.3046, allocations: 1.26 MB / 459.2 MB, free: 9.438 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3046, allocations: 0 / 459.2 MB, free: 9.438 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.3058, allocations: 0.6446 MB / 459.8 MB, free: 8.75 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.3061, allocations: 115.4 kB / 460 MB, free: 8.637 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/0.3062, allocations: 12 kB / 460 MB, free: 8.625 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.3065, allocations: 27.75 kB / 460 MB, free: 8.602 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.3067, allocations: 31.89 kB / 460 MB, free: 8.57 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.3067, allocations: 12 kB / 460 MB, free: 8.559 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0008027/0.3075, allocations: 0.5614 MB / 460.6 MB, free: 8 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3075, allocations: 0 / 460.6 MB, free: 8 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0007158/0.3082, allocations: 192 kB / 460.8 MB, free: 7.812 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.0001969/0.3084, allocations: 131.1 kB / 460.9 MB, free: 7.676 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.000996/0.3094, allocations: 0.4917 MB / 461.4 MB, free: 7.172 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3094, allocations: 0 / 461.4 MB, free: 7.172 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.3099, allocations: 264.2 kB / 461.7 MB, free: 6.902 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.3109, allocations: 217.4 kB / 461.9 MB, free: 6.695 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.314, allocations: 1.718 MB / 463.6 MB, free: 4.922 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.3148, allocations: 0.9923 MB / 464.6 MB, free: 3.902 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0003659/0.3151, allocations: 98.89 kB / 464.7 MB, free: 3.801 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.3152, allocations: 59.42 kB / 464.7 MB, free: 3.742 MB / 366.1 MB
Notification: Performance of SimCode: time 8.01e-07/0.3152, allocations: 4 kB / 464.7 MB, free: 3.738 MB / 366.1 MB
Notification: Performance of Templates: time 0.02044/0.3357, allocations: 10.1 MB / 474.8 MB, free: 9.766 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.865073850378394]