Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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.001832/0.001832, allocations: 104.6 kB / 21.18 MB, free: 0.6992 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.002182/0.002182, allocations: 181.2 kB / 24.46 MB, free: 4.059 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.622/1.622, 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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel")
translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") [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.002775/0.002775, allocations: 55.92 kB / 347.6 MB, free: 9.684 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2787, allocations: 49.16 MB / 396.8 MB, free: 9.504 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.00228/0.281, allocations: 1.19 MB / 398 MB, free: 8.672 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002961/0.284, allocations: 2.116 MB / 400.1 MB, free: 7.227 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.284, allocations: 0 / 400.1 MB, free: 7.227 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.284, allocations: 6.469 kB / 400.1 MB, free: 7.223 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001353/0.2854, allocations: 435.4 kB / 400.5 MB, free: 7.035 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 2.652e-05/0.2854, allocations: 9.969 kB / 400.5 MB, free: 7.027 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 5.322e-05/0.2854, allocations: 18.28 kB / 400.5 MB, free: 7.016 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.2855, allocations: 0.75 kB / 400.5 MB, free: 7.016 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.034e-05/0.2855, allocations: 3.469 kB / 400.6 MB, free: 7.016 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.2858, allocations: 5.328 kB / 400.6 MB, free: 7.016 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.2858, allocations: 1.094 kB / 400.6 MB, free: 7.016 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008438/0.2866, allocations: 483.2 kB / 401 MB, free: 6.859 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2866, allocations: 9.859 kB / 401 MB, free: 6.852 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.2867, allocations: 2.953 kB / 401 MB, free: 6.852 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.2872, allocations: 339 kB / 401.4 MB, free: 6.746 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2872, allocations: 1.062 kB / 401.4 MB, free: 6.746 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.2872, allocations: 0 / 401.4 MB, free: 6.746 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 6.101e-06/0.2873, allocations: 0 / 401.4 MB, free: 6.746 MB / 318.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0003977/0.2877, allocations: 337.3 kB / 401.7 MB, free: 6.43 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2877, allocations: 13.58 kB / 401.7 MB, free: 6.426 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.2877, allocations: 81.53 kB / 401.8 MB, free: 6.348 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2879, allocations: 182.8 kB / 402 MB, free: 6.148 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.2879, allocations: 160.8 kB / 402.1 MB, free: 5.992 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.2879, allocations: 158.6 kB / 402.3 MB, free: 5.836 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 5.861e-05/0.288, allocations: 103.2 kB / 402.4 MB, free: 5.73 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.288, allocations: 75.28 kB / 402.5 MB, free: 5.656 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.288, allocations: 150.6 kB / 402.6 MB, free: 5.508 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.288, allocations: 152.6 kB / 402.8 MB, free: 5.359 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.288, allocations: 154.6 kB / 402.9 MB, free: 5.207 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.2882, allocations: 418.4 kB / 403.3 MB, free: 4.762 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.859e-05/0.2883, allocations: 170.5 kB / 403.5 MB, free: 4.586 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.2883, allocations: 88.12 kB / 403.6 MB, free: 4.496 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.2883, allocations: 81.38 kB / 403.6 MB, free: 4.418 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.2884, allocations: 46.34 kB / 403.7 MB, free: 4.367 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=1): time 2.264e-06/0.2884, allocations: 0 / 403.7 MB, free: 4.367 MB / 318.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001432/0.2886, allocations: 39.75 kB / 403.7 MB, free: 4.328 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.2886, allocations: 52.91 kB / 403.8 MB, free: 4.266 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.2887, allocations: 106.4 kB / 403.9 MB, free: 4.16 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.2887, allocations: 29.83 kB / 403.9 MB, free: 4.125 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.2887, allocations: 81.64 kB / 404 MB, free: 4.043 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.2887, allocations: 0.7969 kB / 404 MB, free: 4.043 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.2888, allocations: 15.22 kB / 404 MB, free: 4.023 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 5.358e-05/0.2888, allocations: 313.8 kB / 404.3 MB, free: 3.711 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.2888, allocations: 1.031 kB / 404.3 MB, free: 3.711 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.2888, allocations: 0.875 kB / 404.3 MB, free: 3.711 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 2.252e-05/0.2888, allocations: 11.97 kB / 404.3 MB, free: 3.699 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2888, allocations: 3.938 kB / 404.3 MB, free: 3.695 MB / 318.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 4.674e-05/0.2889, allocations: 44.64 kB / 404.4 MB, free: 3.652 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2889, allocations: 6.688 kB / 404.4 MB, free: 3.652 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2889, allocations: 0 / 404.4 MB, free: 3.652 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.2889, allocations: 0 / 404.4 MB, free: 3.652 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.489e-05/0.289, allocations: 1.703 kB / 404.4 MB, free: 3.652 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.289, allocations: 0 / 404.4 MB, free: 3.652 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.289, allocations: 0 / 404.4 MB, free: 3.652 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.289, allocations: 1.812 kB / 404.4 MB, free: 3.652 MB / 318.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 ($whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/0.289, allocations: 115.8 kB / 404.5 MB, free: 3.531 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.289, allocations: 5.125 kB / 404.5 MB, free: 3.527 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.2891, allocations: 9.703 kB / 404.5 MB, free: 3.52 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2891, allocations: 1.188 kB / 404.5 MB, free: 3.52 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.2891, allocations: 0.7031 kB / 404.5 MB, free: 3.52 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2891, allocations: 1.344 kB / 404.5 MB, free: 3.52 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.58e-05/0.2892, allocations: 125.7 kB / 404.6 MB, free: 3.359 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2892, allocations: 0.6094 kB / 404.6 MB, free: 3.359 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-06/0.2892, allocations: 5.188 kB / 404.6 MB, free: 3.355 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2892, allocations: 4.797 kB / 404.7 MB, free: 3.352 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.2892, allocations: 0 / 404.7 MB, free: 3.352 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2892, allocations: 5.25 kB / 404.7 MB, free: 3.348 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2892, allocations: 0 / 404.7 MB, free: 3.348 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.423e-05/0.2893, allocations: 62.05 kB / 404.7 MB, free: 3.277 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.2893, allocations: 5.656 kB / 404.7 MB, free: 3.273 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2893, allocations: 2.234 kB / 404.7 MB, free: 3.273 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.266e-05/0.2893, allocations: 32 / 404.7 MB, free: 3.273 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.2893, allocations: 5.766 kB / 404.7 MB, free: 3.27 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.2893, allocations: 0 / 404.7 MB, free: 3.27 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 2.844e-05/0.2893, allocations: 81.16 kB / 404.8 MB, free: 3.195 MB / 318.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.2893, allocations: 1.344 kB / 404.8 MB, free: 3.195 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.0004485/0.2898, allocations: 128.9 kB / 404.9 MB, free: 3.16 MB / 318.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 ($whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.2909, allocations: 477.7 kB / 405.4 MB, free: 2.887 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 9.185e-05/0.291, allocations: 15.44 kB / 405.4 MB, free: 2.875 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.291, allocations: 0 / 405.4 MB, free: 2.875 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.064e-06/0.291, allocations: 2.281 kB / 405.4 MB, free: 2.875 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.2912, allocations: 13 kB / 405.4 MB, free: 2.863 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.2914, allocations: 99.95 kB / 405.5 MB, free: 2.758 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.2915, allocations: 0.6755 MB / 406.2 MB, free: 2.062 MB / 318.1 MB
Notification: Performance of simCode: alias equations: time 3.878e-05/0.2916, allocations: 15.2 kB / 406.2 MB, free: 2.055 MB / 318.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.2916, allocations: 12.89 kB / 406.2 MB, free: 2.047 MB / 318.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.2916, allocations: 0 / 406.2 MB, free: 2.047 MB / 318.1 MB
Notification: Performance of Templates: time 0.007521/0.2991, allocations: 2.794 MB / 409 MB, free: 1.574 MB / 318.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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.9720610827207565]