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.DCSE_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.001661/0.001661, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002111/0.002111, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start")
translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.002011/0.002011, allocations: 64.77 kB / 379 MB, free: 2.66 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2703, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01026/0.2805, allocations: 8.165 MB / 440.6 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005201/0.2857, allocations: 2.688 MB / 443.3 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/0.2865, allocations: 27.88 kB / 443.3 MB, free: 12.05 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001502/0.288, allocations: 0.5793 MB / 443.9 MB, free: 11.46 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001311/0.2893, allocations: 0.4886 MB / 444.4 MB, free: 10.97 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.2898, allocations: 247.7 kB / 444.6 MB, free: 10.73 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00165/0.2914, allocations: 1.479 MB / 446.1 MB, free: 9.246 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006555/0.2921, allocations: 407.2 kB / 446.5 MB, free: 8.82 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000808/0.2929, allocations: 0.5681 MB / 447 MB, free: 8.25 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007403/0.2936, allocations: 0.6066 MB / 447.7 MB, free: 7.641 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.2938, allocations: 136 kB / 447.8 MB, free: 7.508 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.2941, allocations: 176 kB / 448 MB, free: 7.336 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.2944, allocations: 279 kB / 448.2 MB, free: 7.062 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000628/0.295, allocations: 0.6687 MB / 448.9 MB, free: 6.391 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002015/0.297, allocations: 1.729 MB / 450.6 MB, free: 4.66 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.297, allocations: 0 / 450.6 MB, free: 4.66 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.343e-06/0.297, allocations: 4 kB / 450.6 MB, free: 4.656 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 2.123e-05/0.2971, allocations: 0 / 450.6 MB, free: 4.656 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: 249
 * Number of variables: 249
Notification: Performance of Generate backend data structure: time 0.002517/0.2996, allocations: 1.402 MB / 452 MB, free: 3.223 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2996, allocations: 12.03 kB / 452 MB, free: 3.211 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006825/0.3003, allocations: 192 kB / 452.2 MB, free: 3.023 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.3016, allocations: 0.6806 MB / 452.9 MB, free: 2.316 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.3017, allocations: 77.98 kB / 453 MB, free: 2.242 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.3018, allocations: 99.95 kB / 453.1 MB, free: 2.145 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.3035, allocations: 0.9346 MB / 454 MB, free: 1.18 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.3035, allocations: 4 kB / 454 MB, free: 1.176 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/0.3036, allocations: 40 kB / 454.1 MB, free: 1.137 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.3036, allocations: 24 kB / 454.1 MB, free: 1.113 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.3048, allocations: 0.6402 MB / 454.7 MB, free: 488 kB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005754/0.3106, allocations: 3.782 MB / 458.5 MB, free: 12.47 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006872/0.3113, allocations: 341.1 kB / 458.8 MB, free: 12.13 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/0.3119, allocations: 257.3 kB / 459.1 MB, free: 11.88 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.3119, allocations: 4.328 kB / 459.1 MB, free: 11.88 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.312, allocations: 38.89 kB / 459.1 MB, free: 11.83 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.312, allocations: 0 / 459.1 MB, free: 11.83 MB / 366.1 MB
Notification: Performance of matching and sorting (n=44): time 0.002919/0.3149, allocations: 1.26 MB / 460.4 MB, free: 10.53 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.315, allocations: 85.11 kB / 460.5 MB, free: 10.43 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.3162, allocations: 0.8253 MB / 461.3 MB, free: 9.594 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.3162, allocations: 33.7 kB / 461.3 MB, free: 9.555 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.3167, allocations: 0.5735 MB / 461.9 MB, free: 8.973 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.3168, allocations: 162.7 kB / 462.1 MB, free: 8.812 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.317, allocations: 134.6 kB / 462.2 MB, free: 8.676 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001684/0.3172, allocations: 334 kB / 462.5 MB, free: 8.344 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.3176, allocations: 165.9 kB / 462.7 MB, free: 8.18 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.3182, allocations: 460 kB / 463.1 MB, free: 7.598 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3192, allocations: 0.6622 MB / 463.8 MB, free: 6.801 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3192, allocations: 4 kB / 463.8 MB, free: 6.797 MB / 366.1 MB
Notification: Performance of matching and sorting (n=90) (initialization): time 0.001357/0.3206, allocations: 0.775 MB / 464.6 MB, free: 6.012 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3206, allocations: 8 kB / 464.6 MB, free: 6.004 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.3206, allocations: 8 kB / 464.6 MB, free: 5.996 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/0.3209, allocations: 93.61 kB / 464.7 MB, free: 5.898 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.3214, allocations: 155.9 kB / 464.8 MB, free: 5.746 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.3241, allocations: 2.916 MB / 467.8 MB, free: 2.602 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.3247, allocations: 39.88 kB / 467.8 MB, free: 2.562 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.3247, allocations: 32.12 kB / 467.8 MB, free: 2.531 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 43
 * 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): 82
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,5,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0004608/0.3252, allocations: 281.5 kB / 468.1 MB, free: 2.246 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.3253, allocations: 87.44 kB / 468.2 MB, free: 2.16 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.3263, allocations: 495.6 kB / 468.7 MB, free: 1.664 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3264, allocations: 8 kB / 468.7 MB, free: 1.656 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3264, allocations: 4 kB / 468.7 MB, free: 1.652 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.3264, allocations: 3.984 kB / 468.7 MB, free: 1.648 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.3288, allocations: 1.403 MB / 470.1 MB, free: 172 kB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3288, allocations: 4 kB / 470.1 MB, free: 168 kB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.3291, allocations: 67.89 kB / 470.2 MB, free: 100 kB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/0.3293, allocations: 77.89 kB / 470.2 MB, free: 16 kB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.3293, allocations: 8 kB / 470.2 MB, free: 8 kB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/0.332, allocations: 2.92 MB / 473.2 MB, free: 12.86 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.332, allocations: 7.969 kB / 473.2 MB, free: 12.85 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.3333, allocations: 0.7706 MB / 473.9 MB, free: 12.04 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.3336, allocations: 123.4 kB / 474.1 MB, free: 11.91 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.64e-05/0.3337, allocations: 11.94 kB / 474.1 MB, free: 11.9 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.3341, allocations: 31.98 kB / 474.1 MB, free: 11.87 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.3342, allocations: 35.88 kB / 474.1 MB, free: 11.84 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3342, allocations: 12 kB / 474.2 MB, free: 11.82 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0008363/0.3351, allocations: 0.5654 MB / 474.7 MB, free: 11.26 MB / 382.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3351, allocations: 0 / 474.7 MB, free: 11.26 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.000886/0.336, allocations: 204 kB / 474.9 MB, free: 11.06 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38):
 * Single equations (assignments): 36
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,5,100.0%), (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.0002347/0.3362, allocations: 127.1 kB / 475 MB, free: 10.93 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001202/0.3374, allocations: 0.6639 MB / 475.7 MB, free: 10.24 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3374, allocations: 0 / 475.7 MB, free: 10.24 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006683/0.3381, allocations: 437.1 kB / 476.1 MB, free: 9.789 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/0.339, allocations: 224.7 kB / 476.4 MB, free: 9.582 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.3421, allocations: 1.747 MB / 478.1 MB, free: 7.785 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/0.3428, allocations: 1.005 MB / 479.1 MB, free: 6.754 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0003779/0.3431, allocations: 107.2 kB / 479.2 MB, free: 6.645 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.3433, allocations: 59.44 kB / 479.3 MB, free: 6.586 MB / 382.1 MB
Notification: Performance of SimCode: time 6.11e-07/0.3433, allocations: 0 / 479.3 MB, free: 6.586 MB / 382.1 MB
Notification: Performance of Templates: time 0.02276/0.366, allocations: 11.18 MB / 490.5 MB, free: 11.53 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.802441664971411]