Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.001345/0.001345, allocations: 108.5 kB / 21.18 MB, free: 0.7148 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.001358/0.001358, allocations: 189.2 kB / 24.47 MB, free: 4.086 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase")
translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 56.39 kB / 347.7 MB, free: 9.547 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3121, allocations: 49.15 MB / 396.8 MB, free: 9.523 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009383/0.3215, allocations: 8.242 MB / 405.1 MB, free: 3.641 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00606/0.3276, allocations: 2.756 MB / 407.8 MB, free: 1.609 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.3291, allocations: 27.78 kB / 407.8 MB, free: 1.602 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001787/0.3309, allocations: 0.5771 MB / 408.4 MB, free: 1.301 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001682/0.3326, allocations: 0.5092 MB / 408.9 MB, free: 0.9297 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.3332, allocations: 258.9 kB / 409.2 MB, free: 0.7656 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001926/0.3351, allocations: 1.504 MB / 410.7 MB, free: 15.95 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007503/0.3359, allocations: 401.9 kB / 411.1 MB, free: 15.71 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.337, allocations: 0.5843 MB / 411.7 MB, free: 15.41 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009182/0.3379, allocations: 0.6156 MB / 412.3 MB, free: 15.07 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.3381, allocations: 140.9 kB / 412.4 MB, free: 15.07 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.3386, allocations: 184.4 kB / 412.6 MB, free: 15.05 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000322/0.3389, allocations: 283.6 kB / 412.9 MB, free: 14.85 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0008105/0.3397, allocations: 0.6747 MB / 413.5 MB, free: 14.42 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002603/0.3423, allocations: 1.76 MB / 415.3 MB, free: 13.12 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3423, allocations: 1.875 kB / 415.3 MB, free: 13.12 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.894e-06/0.3423, allocations: 0 / 415.3 MB, free: 13.12 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 2.828e-05/0.3424, allocations: 0 / 415.3 MB, free: 13.12 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 250
 * Number of variables: 250
Notification: Performance of Generate backend data structure: time 0.003243/0.3456, allocations: 1.438 MB / 416.7 MB, free: 12.05 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3457, allocations: 12.39 kB / 416.8 MB, free: 12.05 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008367/0.3465, allocations: 197.5 kB / 417 MB, free: 11.96 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.348, allocations: 0.6929 MB / 417.6 MB, free: 11.4 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-05/0.3481, allocations: 76.53 kB / 417.7 MB, free: 11.36 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.3483, allocations: 101 kB / 417.8 MB, free: 11.33 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.3502, allocations: 0.9434 MB / 418.8 MB, free: 10.75 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.3502, allocations: 5.5 kB / 418.8 MB, free: 10.75 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-05/0.3503, allocations: 41.09 kB / 418.8 MB, free: 10.71 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.3503, allocations: 24.91 kB / 418.8 MB, free: 10.71 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.3518, allocations: 0.6497 MB / 419.5 MB, free: 10.39 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006186/0.358, allocations: 3.812 MB / 423.3 MB, free: 7.191 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.3588, allocations: 351.5 kB / 423.6 MB, free: 6.996 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006446/0.3595, allocations: 265.2 kB / 423.9 MB, free: 6.871 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.3595, allocations: 3.781 kB / 423.9 MB, free: 6.871 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.3596, allocations: 32.78 kB / 423.9 MB, free: 6.832 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=41): time 3.267e-06/0.3596, allocations: 0 / 423.9 MB, free: 6.832 MB / 334.1 MB
Notification: Performance of matching and sorting (n=45): time 0.003815/0.3634, allocations: 1.346 MB / 425.3 MB, free: 5.992 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.3635, allocations: 81.86 kB / 425.4 MB, free: 5.898 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.3648, allocations: 0.8396 MB / 426.2 MB, free: 5.422 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.3649, allocations: 32.48 kB / 426.2 MB, free: 5.387 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005449/0.3654, allocations: 0.5771 MB / 426.8 MB, free: 4.867 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.3657, allocations: 175 kB / 427 MB, free: 4.715 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.3659, allocations: 132.8 kB / 427.1 MB, free: 4.629 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001846/0.3661, allocations: 340 kB / 427.4 MB, free: 4.297 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.3665, allocations: 165.9 kB / 427.6 MB, free: 4.137 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/0.3671, allocations: 475.6 kB / 428.1 MB, free: 3.539 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.3682, allocations: 0.6835 MB / 428.7 MB, free: 2.723 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3682, allocations: 4 kB / 428.8 MB, free: 2.719 MB / 334.1 MB
Notification: Performance of matching and sorting (n=91) (initialization): time 0.001554/0.3697, allocations: 0.7868 MB / 429.5 MB, free: 1.918 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3698, allocations: 8.406 kB / 429.5 MB, free: 1.91 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.3698, allocations: 16 kB / 429.6 MB, free: 1.895 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.3701, allocations: 85.67 kB / 429.6 MB, free: 1.805 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.3707, allocations: 159.7 kB / 429.8 MB, free: 1.648 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/0.3741, allocations: 2.927 MB / 432.7 MB, free: 14.5 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.375, allocations: 31.98 kB / 432.8 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.375, allocations: 39.98 kB / 432.8 MB, free: 14.43 MB / 350.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 (85):
 * 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: 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.0005261/0.3755, allocations: 265.6 kB / 433.1 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.3757, allocations: 103.4 kB / 433.2 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.3768, allocations: 0.4993 MB / 433.7 MB, free: 13.54 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3768, allocations: 4 kB / 433.7 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3768, allocations: 4 kB / 433.7 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.3768, allocations: 7.984 kB / 433.7 MB, free: 13.52 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.3796, allocations: 1.43 MB / 435.1 MB, free: 12.01 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.3796, allocations: 4 kB / 435.1 MB, free: 12.01 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.38, allocations: 71.89 kB / 435.2 MB, free: 11.94 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002619/0.3803, allocations: 77.83 kB / 435.3 MB, free: 11.86 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.3803, allocations: 12 kB / 435.3 MB, free: 11.84 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.3831, allocations: 2.923 MB / 438.2 MB, free: 8.691 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3831, allocations: 0 / 438.2 MB, free: 8.691 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.3846, allocations: 0.8141 MB / 439 MB, free: 7.832 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.385, allocations: 131.4 kB / 439.1 MB, free: 7.703 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3851, allocations: 11.94 kB / 439.1 MB, free: 7.691 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.3856, allocations: 31.98 kB / 439.2 MB, free: 7.66 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.3857, allocations: 31.94 kB / 439.2 MB, free: 7.629 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.3857, allocations: 15.98 kB / 439.2 MB, free: 7.613 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0008665/0.3866, allocations: 0.5732 MB / 439.8 MB, free: 7.047 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3866, allocations: 0 / 439.8 MB, free: 7.047 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.001/0.3876, allocations: 215.9 kB / 440 MB, free: 6.836 MB / 350.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 (39):
 * Single equations (assignments): 37
 * 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.0002599/0.3878, allocations: 119.1 kB / 440.1 MB, free: 6.711 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001341/0.3892, allocations: 0.6821 MB / 440.8 MB, free: 6.004 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3892, allocations: 192 / 440.8 MB, free: 6.004 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007089/0.3899, allocations: 441.7 kB / 441.2 MB, free: 5.547 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.3909, allocations: 239.6 kB / 441.5 MB, free: 5.312 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.394, allocations: 1.757 MB / 443.2 MB, free: 3.5 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/0.3948, allocations: 1.013 MB / 444.2 MB, free: 2.461 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0004052/0.3952, allocations: 103.3 kB / 444.3 MB, free: 2.355 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3953, allocations: 59.44 kB / 444.4 MB, free: 2.297 MB / 350.1 MB
Notification: Performance of SimCode: time 1.142e-06/0.3953, allocations: 0 / 444.4 MB, free: 2.297 MB / 350.1 MB
Notification: Performance of Templates: time 0.02448/0.4198, allocations: 11.34 MB / 455.7 MB, free: 6.93 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.166416417807341]