Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001382/0.001382, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001535/0.001535, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.546/1.546, allocations: 230.6 MB / 258.3 MB, free: 8.066 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.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [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.001994/0.001994, allocations: 68.75 kB / 379.1 MB, free: 2.652 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4042, allocations: 53.36 MB / 432.4 MB, free: 6.98 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003746/0.4079, allocations: 1.608 MB / 434 MB, free: 5.371 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001215/0.4091, allocations: 0.5415 MB / 434.6 MB, free: 4.824 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.4092, allocations: 0 / 434.6 MB, free: 4.824 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 7.015e-05/0.4093, allocations: 7.922 kB / 434.6 MB, free: 4.816 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.4095, allocations: 11.88 kB / 434.6 MB, free: 4.805 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.4099, allocations: 59.77 kB / 434.6 MB, free: 4.746 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001558/0.41, allocations: 47.83 kB / 434.7 MB, free: 4.699 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.4101, allocations: 11.98 kB / 434.7 MB, free: 4.688 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.4103, allocations: 31.88 kB / 434.7 MB, free: 4.656 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/0.4104, allocations: 19.86 kB / 434.8 MB, free: 4.637 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.4104, allocations: 4 kB / 434.8 MB, free: 4.633 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.847e-05/0.4105, allocations: 7.984 kB / 434.8 MB, free: 4.625 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.4105, allocations: 15.92 kB / 434.8 MB, free: 4.609 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.331e-05/0.4106, allocations: 31.8 kB / 434.8 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000247/0.4108, allocations: 57.44 kB / 434.9 MB, free: 4.527 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4108, allocations: 0 / 434.9 MB, free: 4.527 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.723e-06/0.4108, allocations: 3.938 kB / 434.9 MB, free: 4.523 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.165e-06/0.4109, allocations: 0 / 434.9 MB, free: 4.523 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: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0006497/0.4115, allocations: 302 kB / 435.2 MB, free: 4.199 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4115, allocations: 11.97 kB / 435.2 MB, free: 4.188 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.4117, allocations: 24.83 kB / 435.2 MB, free: 4.164 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.4121, allocations: 138.4 kB / 435.3 MB, free: 4.004 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.4121, allocations: 384 / 435.3 MB, free: 4.004 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4121, allocations: 8.375 kB / 435.3 MB, free: 3.996 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.4125, allocations: 129.3 kB / 435.5 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4125, allocations: 0 / 435.5 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4125, allocations: 0 / 435.5 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4125, allocations: 0 / 435.5 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.4126, allocations: 23.92 kB / 435.5 MB, free: 3.828 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.4132, allocations: 240.8 kB / 435.7 MB, free: 3.547 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.4134, allocations: 61.14 kB / 435.8 MB, free: 3.469 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.4135, allocations: 25.77 kB / 435.8 MB, free: 3.438 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4135, allocations: 4 kB / 435.8 MB, free: 3.434 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.4136, allocations: 34.56 kB / 435.9 MB, free: 3.391 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4136, allocations: 0 / 435.9 MB, free: 3.391 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002888/0.4138, allocations: 77.56 kB / 435.9 MB, free: 3.309 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.63e-05/0.4139, allocations: 85.11 kB / 436 MB, free: 3.207 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.4141, allocations: 142.2 kB / 436.1 MB, free: 3.055 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.4142, allocations: 29.7 kB / 436.2 MB, free: 3.02 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.4143, allocations: 88.08 kB / 436.3 MB, free: 2.93 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.4143, allocations: 7.953 kB / 436.3 MB, free: 2.922 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.4143, allocations: 25.64 kB / 436.3 MB, free: 2.891 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002468/0.4146, allocations: 318.8 kB / 436.6 MB, free: 2.57 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.4146, allocations: 11.98 kB / 436.6 MB, free: 2.559 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.4147, allocations: 35.42 kB / 436.7 MB, free: 2.512 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.4148, allocations: 51.3 kB / 436.7 MB, free: 2.449 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.4148, allocations: 0 / 436.7 MB, free: 2.449 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001598/0.415, allocations: 69.58 kB / 436.8 MB, free: 2.375 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.415, allocations: 4 kB / 436.8 MB, free: 2.371 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.415, allocations: 4 kB / 436.8 MB, free: 2.367 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.415, allocations: 0 / 436.8 MB, free: 2.367 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.4151, allocations: 15.98 kB / 436.8 MB, free: 2.352 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.4151, allocations: 3.938 kB / 436.8 MB, free: 2.348 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.4152, allocations: 4 kB / 436.8 MB, free: 2.344 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.4152, allocations: 0 / 436.8 MB, free: 2.344 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.0001682/0.4154, allocations: 129.9 kB / 436.9 MB, free: 2.207 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/0.4154, allocations: 49.64 kB / 437 MB, free: 2.152 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.4155, allocations: 8.344 kB / 437 MB, free: 2.137 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.4155, allocations: 4 kB / 437 MB, free: 2.133 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4155, allocations: 0 / 437 MB, free: 2.133 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4155, allocations: 0 / 437 MB, free: 2.133 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.4158, allocations: 144.7 kB / 437.1 MB, free: 1.949 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4158, allocations: 0 / 437.1 MB, free: 1.949 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.4158, allocations: 11.98 kB / 437.1 MB, free: 1.938 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4158, allocations: 4.266 kB / 437.1 MB, free: 1.934 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4159, allocations: 4 kB / 437.2 MB, free: 1.93 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4159, allocations: 0 / 437.2 MB, free: 1.93 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4159, allocations: 4 kB / 437.2 MB, free: 1.926 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.4161, allocations: 172.3 kB / 437.3 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.4162, allocations: 19.94 kB / 437.3 MB, free: 1.719 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.4162, allocations: 0 / 437.3 MB, free: 1.719 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.4163, allocations: 8 kB / 437.4 MB, free: 1.711 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.4163, allocations: 3.984 kB / 437.4 MB, free: 1.707 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.4163, allocations: 0 / 437.4 MB, free: 1.707 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001131/0.4164, allocations: 109.5 kB / 437.5 MB, free: 1.602 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4164, allocations: 0 / 437.5 MB, free: 1.602 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002486/0.4167, allocations: 8 kB / 437.5 MB, free: 1.594 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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.0001755/0.4169, allocations: 107.1 kB / 437.6 MB, free: 1.48 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001749/0.417, allocations: 28.05 kB / 437.6 MB, free: 1.453 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.417, allocations: 0 / 437.6 MB, free: 1.453 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.4171, allocations: 19.92 kB / 437.6 MB, free: 1.434 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.4174, allocations: 19.91 kB / 437.6 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.4179, allocations: 163.7 kB / 437.8 MB, free: 1.227 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.4184, allocations: 0.6965 MB / 438.5 MB, free: 0.5039 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.836e-05/0.4184, allocations: 4 kB / 438.5 MB, free: 0.5 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.4184, allocations: 15.44 kB / 438.5 MB, free: 496 kB / 334.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.4184, allocations: 0 / 438.5 MB, free: 496 kB / 334.1 MB
Notification: Performance of Templates: time 0.004009/0.4224, allocations: 0.5559 MB / 439.1 MB, free: 15.94 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.905878248624504]