Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001335/0.001335, 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.00167/0.00167, allocations: 212 kB / 24.54 MB, free: 4.016 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.629/1.629, allocations: 230.3 MB / 258 MB, free: 8.266 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample")
translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 378.7 MB, free: 2.816 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4166, allocations: 53.36 MB / 432.1 MB, free: 7.09 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004002/0.4207, allocations: 1.926 MB / 434 MB, free: 5.156 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002547/0.4232, allocations: 1.324 MB / 435.4 MB, free: 3.824 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.4234, allocations: 3.938 kB / 435.4 MB, free: 3.82 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.4238, allocations: 67.67 kB / 435.4 MB, free: 3.754 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.4242, allocations: 139.4 kB / 435.6 MB, free: 3.617 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008454/0.4251, allocations: 234.9 kB / 435.8 MB, free: 3.391 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00036/0.4254, allocations: 183.5 kB / 436 MB, free: 3.211 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.4256, allocations: 24.69 kB / 436 MB, free: 3.188 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.4257, allocations: 79.62 kB / 436.1 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.4259, allocations: 87.67 kB / 436.2 MB, free: 3.023 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.426, allocations: 11.94 kB / 436.2 MB, free: 3.012 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.4262, allocations: 79.94 kB / 436.2 MB, free: 2.934 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.4263, allocations: 47.78 kB / 436.3 MB, free: 2.887 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.4264, allocations: 79.47 kB / 436.4 MB, free: 2.809 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.4269, allocations: 234.8 kB / 436.6 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4269, allocations: 0 / 436.6 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.663e-06/0.4269, allocations: 0 / 436.6 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.937e-06/0.4269, allocations: 0 / 436.6 MB, free: 2.582 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.0009953/0.4279, allocations: 494.4 kB / 437.1 MB, free: 2.062 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.428, allocations: 8.031 kB / 437.1 MB, free: 2.055 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.4281, allocations: 24.8 kB / 437.1 MB, free: 2.031 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.4286, allocations: 229.5 kB / 437.3 MB, free: 1.781 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.4286, allocations: 4.375 kB / 437.3 MB, free: 1.777 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.4286, allocations: 8.375 kB / 437.4 MB, free: 1.77 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.4291, allocations: 167.8 kB / 437.5 MB, free: 1.578 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4291, allocations: 3.938 kB / 437.5 MB, free: 1.574 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.4291, allocations: 3.938 kB / 437.5 MB, free: 1.57 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.4291, allocations: 4 kB / 437.5 MB, free: 1.566 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.4292, allocations: 31.97 kB / 437.6 MB, free: 1.535 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.4299, allocations: 361.4 kB / 437.9 MB, free: 1.133 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.4302, allocations: 115.9 kB / 438 MB, free: 0.9922 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.4303, allocations: 46.56 kB / 438.1 MB, free: 0.9375 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.4303, allocations: 7.984 kB / 438.1 MB, free: 0.9297 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.4305, allocations: 75.31 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.4305, allocations: 4 kB / 438.2 MB, free: 0.8398 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0004546/0.431, allocations: 157.4 kB / 438.3 MB, free: 0.6797 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.4311, allocations: 154.2 kB / 438.5 MB, free: 0.4922 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.4315, allocations: 337.8 kB / 438.8 MB, free: 160 kB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.4315, allocations: 29.7 kB / 438.8 MB, free: 124 kB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.4317, allocations: 132.2 kB / 438.9 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.4317, allocations: 24.06 kB / 439 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.4318, allocations: 29.7 kB / 439 MB, free: 15.93 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001738/0.4319, allocations: 346.7 kB / 439.3 MB, free: 15.58 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.809e-05/0.432, allocations: 19.98 kB / 439.4 MB, free: 15.56 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.4321, allocations: 82.86 kB / 439.4 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.4323, allocations: 84.22 kB / 439.5 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4323, allocations: 0 / 439.5 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002943/0.4326, allocations: 133.5 kB / 439.7 MB, free: 15.22 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4326, allocations: 8.031 kB / 439.7 MB, free: 15.21 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4326, allocations: 0 / 439.7 MB, free: 15.21 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4326, allocations: 4 kB / 439.7 MB, free: 15.21 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4328, allocations: 19.92 kB / 439.7 MB, free: 15.19 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4328, allocations: 4 kB / 439.7 MB, free: 15.19 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.4328, allocations: 4 kB / 439.7 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4329, allocations: 8 kB / 439.7 MB, free: 15.18 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.0001786/0.433, allocations: 170.7 kB / 439.9 MB, free: 15 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.4331, allocations: 69.52 kB / 439.9 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.4334, allocations: 123.3 kB / 440.1 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4334, allocations: 4 kB / 440.1 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4334, allocations: 0 / 440.1 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4334, allocations: 0 / 440.1 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.4337, allocations: 208.6 kB / 440.3 MB, free: 14.55 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4337, allocations: 7.984 kB / 440.3 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.4338, allocations: 8 kB / 440.3 MB, free: 14.53 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4338, allocations: 0 / 440.3 MB, free: 14.53 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.4338, allocations: 8.062 kB / 440.3 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4338, allocations: 3.938 kB / 440.3 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4338, allocations: 3.938 kB / 440.3 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.4341, allocations: 170.5 kB / 440.5 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.166e-05/0.4342, allocations: 35.83 kB / 440.5 MB, free: 14.29 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.4342, allocations: 8 kB / 440.5 MB, free: 14.28 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.4343, allocations: 8 kB / 440.5 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.4343, allocations: 3.984 kB / 440.5 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.4344, allocations: 8 kB / 440.5 MB, free: 14.26 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002998/0.4347, allocations: 249.2 kB / 440.8 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4347, allocations: 0 / 440.8 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003023/0.435, allocations: 35.94 kB / 440.8 MB, free: 13.98 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.001816/0.4368, allocations: 430.3 kB / 441.2 MB, free: 13.7 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002828/0.4371, allocations: 63.91 kB / 441.3 MB, free: 13.63 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4371, allocations: 0 / 441.3 MB, free: 13.63 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.285e-05/0.4372, allocations: 31.92 kB / 441.3 MB, free: 13.6 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.4376, allocations: 65.53 kB / 441.4 MB, free: 13.54 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.4385, allocations: 385.2 kB / 441.8 MB, free: 13.13 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.4389, allocations: 0.7359 MB / 442.5 MB, free: 12.37 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 9.031e-05/0.439, allocations: 29.45 kB / 442.5 MB, free: 12.34 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.4391, allocations: 27.42 kB / 442.5 MB, free: 12.31 MB / 350.1 MB
Notification: Performance of SimCode: time 3e-07/0.4391, allocations: 0 / 442.5 MB, free: 12.31 MB / 350.1 MB
Notification: Performance of Templates: time 0.008196/0.4473, allocations: 2.888 MB / 445.4 MB, free: 9.441 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.29689054377377]