Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001826/0.001826, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002105/0.002105, allocations: 189.4 kB / 23.72 MB, free: 4.68 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.528/1.528, allocations: 225.6 MB / 252.5 MB, free: 13 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start")
translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 370.9 MB, free: 9.332 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2588, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009566/0.2684, allocations: 7.203 MB / 430.3 MB, free: 7.422 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004746/0.2731, allocations: 2.356 MB / 432.7 MB, free: 5.062 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.2743, allocations: 23.94 kB / 432.7 MB, free: 5.039 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001776/0.276, allocations: 0.5165 MB / 433.2 MB, free: 4.52 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001496/0.2775, allocations: 409 kB / 433.6 MB, free: 4.117 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.278, allocations: 203.7 kB / 433.8 MB, free: 3.918 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001389/0.2794, allocations: 1.206 MB / 435 MB, free: 2.711 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006148/0.28, allocations: 344.5 kB / 435.4 MB, free: 2.348 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007384/0.2808, allocations: 490 kB / 435.8 MB, free: 1.867 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.2814, allocations: 497.8 kB / 436.3 MB, free: 1.379 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.2816, allocations: 112 kB / 436.4 MB, free: 1.27 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.282, allocations: 148 kB / 436.6 MB, free: 1.125 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.2822, allocations: 231.2 kB / 436.8 MB, free: 0.8984 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005317/0.2827, allocations: 0.5443 MB / 437.3 MB, free: 360 kB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001744/0.2844, allocations: 1.436 MB / 438.8 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2844, allocations: 0 / 438.8 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.232e-06/0.2844, allocations: 3.938 kB / 438.8 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.42e-05/0.2845, allocations: 0 / 438.8 MB, free: 14.91 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: 200
 * Number of variables: 200
Notification: Performance of Generate backend data structure: time 0.00225/0.2867, allocations: 1.205 MB / 440 MB, free: 13.67 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2868, allocations: 12.03 kB / 440 MB, free: 13.66 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004999/0.2873, allocations: 144.2 kB / 440.1 MB, free: 13.52 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.2884, allocations: 0.5882 MB / 440.7 MB, free: 12.9 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.2884, allocations: 58.38 kB / 440.8 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.2885, allocations: 84.33 kB / 440.9 MB, free: 12.76 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.29, allocations: 0.7832 MB / 441.7 MB, free: 11.95 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.29, allocations: 4 kB / 441.7 MB, free: 11.94 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.951e-05/0.2901, allocations: 32 kB / 441.7 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.2901, allocations: 16 kB / 441.7 MB, free: 11.89 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2912, allocations: 0.5231 MB / 442.2 MB, free: 11.38 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004399/0.2956, allocations: 3.282 MB / 445.5 MB, free: 7.891 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.2961, allocations: 222 kB / 445.7 MB, free: 7.668 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.2963, allocations: 108.8 kB / 445.8 MB, free: 7.559 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.2964, allocations: 4 kB / 445.8 MB, free: 7.555 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.2964, allocations: 38.55 kB / 445.9 MB, free: 7.508 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.2964, allocations: 0 / 445.9 MB, free: 7.508 MB / 350.1 MB
Notification: Performance of matching and sorting (n=28): time 0.002127/0.2985, allocations: 0.902 MB / 446.8 MB, free: 6.57 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.2986, allocations: 85.34 kB / 446.9 MB, free: 6.469 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.2996, allocations: 0.7388 MB / 447.6 MB, free: 5.723 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.2996, allocations: 29.7 kB / 447.6 MB, free: 5.688 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.3, allocations: 0.5034 MB / 448.1 MB, free: 5.176 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.3001, allocations: 115.1 kB / 448.2 MB, free: 5.062 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.3003, allocations: 114.2 kB / 448.4 MB, free: 4.945 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001921/0.3005, allocations: 374.8 kB / 448.7 MB, free: 4.57 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.3008, allocations: 129.2 kB / 448.8 MB, free: 4.445 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/0.3013, allocations: 422.1 kB / 449.3 MB, free: 3.898 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/0.3021, allocations: 0.5756 MB / 449.8 MB, free: 3.188 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.3021, allocations: 7.938 kB / 449.8 MB, free: 3.18 MB / 350.1 MB
Notification: Performance of matching and sorting (n=74) (initialization): time 0.001136/0.3033, allocations: 0.6113 MB / 450.5 MB, free: 2.559 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.3033, allocations: 12 kB / 450.5 MB, free: 2.547 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3033, allocations: 8 kB / 450.5 MB, free: 2.539 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.3035, allocations: 28.86 kB / 450.5 MB, free: 2.508 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.3039, allocations: 143.7 kB / 450.6 MB, free: 2.367 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.3051, allocations: 1.292 MB / 451.9 MB, free: 0.9609 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.3056, allocations: 32.14 kB / 452 MB, free: 0.9297 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.3056, allocations: 28 kB / 452 MB, free: 0.9023 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 44
 * 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 (73):
 * Single equations (assignments): 72
 * 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.0003409/0.3059, allocations: 237.5 kB / 452.2 MB, free: 0.6602 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3061, allocations: 79.48 kB / 452.3 MB, free: 0.582 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/0.3068, allocations: 325.7 kB / 452.6 MB, free: 260 kB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3068, allocations: 4 kB / 452.6 MB, free: 256 kB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3068, allocations: 4 kB / 452.6 MB, free: 252 kB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3068, allocations: 3.938 kB / 452.6 MB, free: 248 kB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.3085, allocations: 1.064 MB / 453.7 MB, free: 15.1 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3085, allocations: 4 kB / 453.7 MB, free: 15.1 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.3088, allocations: 59.89 kB / 453.8 MB, free: 15.04 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.922e-05/0.3089, allocations: 21.08 kB / 453.8 MB, free: 15.02 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.3089, allocations: 15.94 kB / 453.8 MB, free: 15 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.31, allocations: 1.267 MB / 455.1 MB, free: 13.61 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.31, allocations: 0 / 455.1 MB, free: 13.61 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009697/0.3109, allocations: 0.5608 MB / 455.6 MB, free: 13.01 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.3112, allocations: 95.53 kB / 455.7 MB, free: 12.92 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/0.3112, allocations: 15.92 kB / 455.7 MB, free: 12.9 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.3116, allocations: 19.98 kB / 455.8 MB, free: 12.88 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.3116, allocations: 27.91 kB / 455.8 MB, free: 12.86 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.3117, allocations: 11.98 kB / 455.8 MB, free: 12.84 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0007168/0.3124, allocations: 0.503 MB / 456.3 MB, free: 12.34 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.3124, allocations: 0 / 456.3 MB, free: 12.34 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006556/0.313, allocations: 159.9 kB / 456.5 MB, free: 12.19 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27):
 * Single equations (assignments): 26
 * 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.0001924/0.3132, allocations: 119.2 kB / 456.6 MB, free: 12.06 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009519/0.3142, allocations: 452.4 kB / 457 MB, free: 11.61 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3142, allocations: 4 kB / 457 MB, free: 11.61 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.3146, allocations: 237 kB / 457.2 MB, free: 11.36 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009067/0.3155, allocations: 178.7 kB / 457.4 MB, free: 11.19 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.318, allocations: 1.431 MB / 458.9 MB, free: 9.707 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.3186, allocations: 0.945 MB / 459.8 MB, free: 8.734 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0003116/0.3189, allocations: 93.95 kB / 459.9 MB, free: 8.641 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.319, allocations: 47.44 kB / 459.9 MB, free: 8.594 MB / 366.1 MB
Notification: Performance of SimCode: time 4e-07/0.319, allocations: 0 / 459.9 MB, free: 8.594 MB / 366.1 MB
Notification: Performance of Templates: time 0.01804/0.337, allocations: 8.678 MB / 468.6 MB, free: 28 kB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.864965871907771]