Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.00164/0.00164, allocations: 112 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.002014/0.002014, allocations: 187.8 kB / 23.71 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.604/1.604, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 47.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3241, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003038/0.3272, allocations: 1.507 MB / 424.6 MB, free: 13.15 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0008471/0.328, allocations: 438.9 kB / 425.1 MB, free: 12.72 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.3281, allocations: 3.938 kB / 425.1 MB, free: 12.71 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.3281, allocations: 3.938 kB / 425.1 MB, free: 12.71 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.162e-05/0.3282, allocations: 3.938 kB / 425.1 MB, free: 12.71 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.3284, allocations: 35.89 kB / 425.1 MB, free: 12.67 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001252/0.3286, allocations: 35.86 kB / 425.1 MB, free: 12.64 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3287, allocations: 8 kB / 425.2 MB, free: 12.63 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.3288, allocations: 23.86 kB / 425.2 MB, free: 12.61 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.3288, allocations: 19.91 kB / 425.2 MB, free: 12.59 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3288, allocations: 8 kB / 425.2 MB, free: 12.58 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.3289, allocations: 0 / 425.2 MB, free: 12.58 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.3289, allocations: 8 kB / 425.2 MB, free: 12.57 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.3289, allocations: 15.88 kB / 425.2 MB, free: 12.55 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.329, allocations: 33.44 kB / 425.3 MB, free: 12.52 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.329, allocations: 0 / 425.3 MB, free: 12.52 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.924e-06/0.329, allocations: 3.938 kB / 425.3 MB, free: 12.52 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 4.979e-06/0.329, allocations: 0 / 425.3 MB, free: 12.52 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0004961/0.3295, allocations: 273.9 kB / 425.5 MB, free: 12.23 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3296, allocations: 12.03 kB / 425.5 MB, free: 12.21 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.3296, allocations: 8.891 kB / 425.6 MB, free: 12.21 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.3298, allocations: 138.3 kB / 425.7 MB, free: 12.05 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-06/0.3298, allocations: 384 / 425.7 MB, free: 12.05 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3298, allocations: 8.375 kB / 425.7 MB, free: 12.04 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.3302, allocations: 115.6 kB / 425.8 MB, free: 11.91 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3302, allocations: 0 / 425.8 MB, free: 11.91 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3302, allocations: 4 kB / 425.8 MB, free: 11.91 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3302, allocations: 0 / 425.8 MB, free: 11.91 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.099e-05/0.3303, allocations: 19.98 kB / 425.8 MB, free: 11.89 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.3305, allocations: 136.7 kB / 426 MB, free: 11.71 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.3307, allocations: 54.55 kB / 426 MB, free: 11.65 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.482e-05/0.3307, allocations: 24.92 kB / 426 MB, free: 11.62 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3307, allocations: 0 / 426 MB, free: 11.62 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3308, allocations: 38.5 kB / 426.1 MB, free: 11.58 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3308, allocations: 0 / 426.1 MB, free: 11.58 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002577/0.331, allocations: 77.56 kB / 426.2 MB, free: 11.5 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3311, allocations: 55.41 kB / 426.2 MB, free: 11.43 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3312, allocations: 113.8 kB / 426.3 MB, free: 11.31 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3312, allocations: 29.7 kB / 426.4 MB, free: 11.27 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.3313, allocations: 84.14 kB / 426.4 MB, free: 11.19 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.706e-06/0.3313, allocations: 3.984 kB / 426.4 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3313, allocations: 17.72 kB / 426.5 MB, free: 11.16 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001633/0.3315, allocations: 310.8 kB / 426.8 MB, free: 10.85 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.3315, allocations: 4 kB / 426.8 MB, free: 10.84 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.3315, allocations: 35.42 kB / 426.8 MB, free: 10.8 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/0.3316, allocations: 35.38 kB / 426.8 MB, free: 10.75 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3316, allocations: 4 kB / 426.8 MB, free: 10.75 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.698e-05/0.3317, allocations: 61.56 kB / 426.9 MB, free: 10.68 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3317, allocations: 7.938 kB / 426.9 MB, free: 10.67 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3317, allocations: 0 / 426.9 MB, free: 10.67 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.3317, allocations: 4.375 kB / 426.9 MB, free: 10.67 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.3318, allocations: 7.938 kB / 426.9 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3318, allocations: 0 / 426.9 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.3318, allocations: 4 kB / 426.9 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.3318, allocations: 3.938 kB / 426.9 MB, free: 10.65 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * 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 (4):
 * Single equations (assignments): 4
 * 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 0.0001059/0.3319, allocations: 114 kB / 427 MB, free: 10.53 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.332, allocations: 77.5 kB / 427.1 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.3321, allocations: 4 kB / 427.1 MB, free: 10.44 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3321, allocations: 0 / 427.1 MB, free: 10.44 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3321, allocations: 4 kB / 427.1 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.3321, allocations: 4.312 kB / 427.1 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3322, allocations: 124.8 kB / 427.2 MB, free: 10.27 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3322, allocations: 0 / 427.2 MB, free: 10.27 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.3323, allocations: 11.98 kB / 427.3 MB, free: 10.25 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3323, allocations: 3.938 kB / 427.3 MB, free: 10.25 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3323, allocations: 8 kB / 427.3 MB, free: 10.24 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3323, allocations: 0 / 427.3 MB, free: 10.24 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3323, allocations: 3.984 kB / 427.3 MB, free: 10.24 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3325, allocations: 89.06 kB / 427.4 MB, free: 10.13 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.3325, allocations: 3.938 kB / 427.4 MB, free: 10.13 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3325, allocations: 11.92 kB / 427.4 MB, free: 10.12 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-05/0.3326, allocations: 4 kB / 427.4 MB, free: 10.11 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-06/0.3326, allocations: 4 kB / 427.4 MB, free: 10.11 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.3326, allocations: 4 kB / 427.4 MB, free: 10.11 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 5.419e-05/0.3326, allocations: 83.27 kB / 427.5 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3326, allocations: 0 / 427.5 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0001913/0.3328, allocations: 8 kB / 427.5 MB, free: 10.02 MB / 334.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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (4):
 * Single equations (assignments): 4
 * 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.0001203/0.3329, allocations: 95.25 kB / 427.6 MB, free: 9.914 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001381/0.3331, allocations: 27.92 kB / 427.6 MB, free: 9.887 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3331, allocations: 4.25 kB / 427.6 MB, free: 9.883 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.3331, allocations: 0 / 427.6 MB, free: 9.883 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.3333, allocations: 23.97 kB / 427.6 MB, free: 9.859 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.3336, allocations: 134.9 kB / 427.8 MB, free: 9.703 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.3341, allocations: 0.6844 MB / 428.4 MB, free: 8.992 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 1.608e-05/0.3341, allocations: 7.984 kB / 428.4 MB, free: 8.984 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.3341, allocations: 7.438 kB / 428.5 MB, free: 8.977 MB / 334.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3341, allocations: 8.219 kB / 428.5 MB, free: 8.969 MB / 334.1 MB
Notification: Performance of Templates: time 0.002799/0.3369, allocations: 396.5 kB / 428.9 MB, free: 8.582 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.794618144631386]