Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001718/0.001718, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002032/0.002032, allocations: 209.9 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample")
translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 378.8 MB, free: 2.797 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4421, allocations: 53.36 MB / 432.1 MB, free: 7.109 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004012/0.4461, allocations: 1.93 MB / 434 MB, free: 5.172 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002618/0.4487, allocations: 1.246 MB / 435.3 MB, free: 3.918 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.4489, allocations: 11.94 kB / 435.3 MB, free: 3.906 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008376/0.4498, allocations: 151.5 kB / 435.4 MB, free: 3.758 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.4504, allocations: 159.4 kB / 435.6 MB, free: 3.602 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006968/0.4511, allocations: 175 kB / 435.8 MB, free: 3.434 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004317/0.4515, allocations: 195.4 kB / 436 MB, free: 3.242 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.4517, allocations: 25.73 kB / 436 MB, free: 3.215 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.4519, allocations: 71.7 kB / 436.1 MB, free: 3.145 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.4521, allocations: 83.61 kB / 436.1 MB, free: 3.062 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.4521, allocations: 11.94 kB / 436.2 MB, free: 3.051 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.4524, allocations: 67.94 kB / 436.2 MB, free: 2.984 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.4525, allocations: 43.84 kB / 436.3 MB, free: 2.941 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.4526, allocations: 63.55 kB / 436.3 MB, free: 2.879 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.4531, allocations: 212.8 kB / 436.5 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4531, allocations: 0 / 436.5 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of FrontEnd: time 3.085e-06/0.4531, allocations: 0 / 436.5 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.577e-05/0.4531, allocations: 8 kB / 436.5 MB, free: 2.672 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: 14
 * Number of variables: 14
Notification: Performance of Generate backend data structure: time 0.001236/0.4544, allocations: 450.7 kB / 437 MB, free: 2.195 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.712e-05/0.4545, allocations: 8.031 kB / 437 MB, free: 2.188 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.4546, allocations: 24.8 kB / 437 MB, free: 2.164 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.4552, allocations: 213.1 kB / 437.2 MB, free: 1.93 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.4552, allocations: 8.375 kB / 437.2 MB, free: 1.922 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.4552, allocations: 4.375 kB / 437.2 MB, free: 1.918 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.4557, allocations: 159 kB / 437.4 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.4557, allocations: 0 / 437.4 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.4558, allocations: 0 / 437.4 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.4558, allocations: 3.938 kB / 437.4 MB, free: 1.734 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.4559, allocations: 47.91 kB / 437.4 MB, free: 1.688 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.4567, allocations: 325.5 kB / 437.8 MB, free: 1.32 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.457, allocations: 111.9 kB / 437.9 MB, free: 1.184 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.4571, allocations: 42.5 kB / 437.9 MB, free: 1.133 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.4572, allocations: 4.078 kB / 437.9 MB, free: 1.129 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.4574, allocations: 79.36 kB / 438 MB, free: 1.039 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.4574, allocations: 0 / 438 MB, free: 1.039 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0005108/0.4579, allocations: 145.4 kB / 438.1 MB, free: 0.8906 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.4581, allocations: 132.5 kB / 438.3 MB, free: 0.7305 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.4584, allocations: 273.1 kB / 438.5 MB, free: 468 kB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.4585, allocations: 25.7 kB / 438.6 MB, free: 436 kB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.4586, allocations: 120.4 kB / 438.7 MB, free: 312 kB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.4586, allocations: 19.89 kB / 438.7 MB, free: 292 kB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.4587, allocations: 25.67 kB / 438.7 MB, free: 260 kB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001957/0.4589, allocations: 338.7 kB / 439 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.4589, allocations: 20 kB / 439.1 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.459, allocations: 69.98 kB / 439.1 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.4592, allocations: 76.27 kB / 439.2 MB, free: 15.71 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.4592, allocations: 3.984 kB / 439.2 MB, free: 15.71 MB / 350.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002357/0.4594, allocations: 113.5 kB / 439.3 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4595, allocations: 8 kB / 439.3 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4595, allocations: 0 / 439.3 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.4595, allocations: 8.297 kB / 439.3 MB, free: 15.58 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.4596, allocations: 11.94 kB / 439.4 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.4596, allocations: 7.984 kB / 439.4 MB, free: 15.56 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.905e-05/0.4597, allocations: 11.94 kB / 439.4 MB, free: 15.55 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.4597, allocations: 8 kB / 439.4 MB, free: 15.54 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (11):
 * Single equations (assignments): 11
 * 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.0001724/0.4599, allocations: 150.6 kB / 439.5 MB, free: 15.38 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.46, allocations: 73.42 kB / 439.6 MB, free: 15.3 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.4602, allocations: 99.38 kB / 439.7 MB, free: 15.2 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4602, allocations: 4 kB / 439.7 MB, free: 15.2 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4602, allocations: 0 / 439.7 MB, free: 15.2 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4603, allocations: 0 / 439.7 MB, free: 15.2 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.4605, allocations: 208.5 kB / 439.9 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4605, allocations: 3.938 kB / 439.9 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.4606, allocations: 4 kB / 439.9 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.4606, allocations: 4.062 kB / 439.9 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4606, allocations: 4 kB / 439.9 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4606, allocations: 0 / 439.9 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4606, allocations: 0 / 439.9 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.4609, allocations: 158.6 kB / 440.1 MB, free: 14.75 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/0.4609, allocations: 31.84 kB / 440.1 MB, free: 14.72 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.461, allocations: 8 kB / 440.1 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/0.461, allocations: 4 kB / 440.1 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.4611, allocations: 7.984 kB / 440.1 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.4611, allocations: 4 kB / 440.1 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002327/0.4613, allocations: 200.5 kB / 440.3 MB, free: 14.5 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4613, allocations: 0 / 440.3 MB, free: 14.5 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.000283/0.4616, allocations: 35.92 kB / 440.4 MB, free: 14.47 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u)
 * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (9):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.001711/0.4633, allocations: 432.4 kB / 440.8 MB, free: 14.18 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002954/0.4636, allocations: 63.91 kB / 440.8 MB, free: 14.12 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4636, allocations: 0 / 440.8 MB, free: 14.12 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.4637, allocations: 19.98 kB / 440.9 MB, free: 14.1 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.4642, allocations: 62.16 kB / 440.9 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.465, allocations: 325.4 kB / 441.2 MB, free: 13.7 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.4655, allocations: 0.732 MB / 442 MB, free: 12.94 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001107/0.4656, allocations: 25.47 kB / 442 MB, free: 12.91 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.4657, allocations: 19.44 kB / 442 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of SimCode: time 8.42e-07/0.4657, allocations: 0 / 442 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of Templates: time 0.008674/0.4744, allocations: 2.49 MB / 444.5 MB, free: 10.42 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.32177690602839]