Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001814/0.001814, allocations: 112 kB / 20.43 MB, free: 1.457 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.00207/0.00207, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.58/1.58, allocations: 225.6 MB / 252.5 MB, free: 13 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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3023, allocations: 52.19 MB / 423.1 MB, free: 14.69 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004272/0.3066, allocations: 1.917 MB / 425 MB, free: 12.76 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002412/0.309, allocations: 1.091 MB / 426.1 MB, free: 11.66 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.3092, allocations: 3.938 kB / 426.1 MB, free: 11.66 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000888/0.3101, allocations: 159.5 kB / 426.3 MB, free: 11.5 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.3105, allocations: 127.5 kB / 426.4 MB, free: 11.38 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.3112, allocations: 202.8 kB / 426.6 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002908/0.3115, allocations: 179.5 kB / 426.8 MB, free: 11.01 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3116, allocations: 21.73 kB / 426.8 MB, free: 10.98 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3117, allocations: 83.56 kB / 426.9 MB, free: 10.9 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.3119, allocations: 75.67 kB / 427 MB, free: 10.83 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.3119, allocations: 12 kB / 427 MB, free: 10.82 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.3121, allocations: 67.89 kB / 427 MB, free: 10.75 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.3122, allocations: 39.84 kB / 427.1 MB, free: 10.71 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.3123, allocations: 67.55 kB / 427.1 MB, free: 10.64 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.3127, allocations: 204.4 kB / 427.3 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3127, allocations: 0 / 427.3 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.934e-06/0.3127, allocations: 0 / 427.3 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.633e-06/0.3127, allocations: 0 / 427.3 MB, free: 10.45 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.0009946/0.3137, allocations: 450.7 kB / 427.8 MB, free: 9.977 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3137, allocations: 12.03 kB / 427.8 MB, free: 9.965 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.311e-05/0.3138, allocations: 24.8 kB / 427.8 MB, free: 9.941 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3142, allocations: 197.2 kB / 428 MB, free: 9.723 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.3142, allocations: 8.375 kB / 428 MB, free: 9.715 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3143, allocations: 12.11 kB / 428 MB, free: 9.703 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.3147, allocations: 150.7 kB / 428.2 MB, free: 9.531 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3147, allocations: 0 / 428.2 MB, free: 9.531 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.3147, allocations: 0 / 428.2 MB, free: 9.531 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3147, allocations: 0 / 428.2 MB, free: 9.531 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3149, allocations: 35.98 kB / 428.2 MB, free: 9.496 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.3155, allocations: 337.4 kB / 428.5 MB, free: 9.117 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.3158, allocations: 107.9 kB / 428.6 MB, free: 8.984 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-05/0.3158, allocations: 42.56 kB / 428.7 MB, free: 8.934 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.3159, allocations: 7.922 kB / 428.7 MB, free: 8.926 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.3161, allocations: 83.28 kB / 428.8 MB, free: 8.832 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.823e-06/0.3161, allocations: 0 / 428.8 MB, free: 8.832 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0004602/0.3165, allocations: 133.9 kB / 428.9 MB, free: 8.695 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.3167, allocations: 140.5 kB / 429 MB, free: 8.527 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.3171, allocations: 260.9 kB / 429.3 MB, free: 8.266 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.3171, allocations: 29.7 kB / 429.3 MB, free: 8.23 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3172, allocations: 120 kB / 429.4 MB, free: 8.109 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.3173, allocations: 19.89 kB / 429.5 MB, free: 8.09 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.3173, allocations: 29.72 kB / 429.5 MB, free: 8.055 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001719/0.3175, allocations: 338.8 kB / 429.8 MB, free: 7.715 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.3176, allocations: 12 kB / 429.8 MB, free: 7.703 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.3177, allocations: 74.06 kB / 429.9 MB, free: 7.609 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.3178, allocations: 76.25 kB / 430 MB, free: 7.52 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.3178, allocations: 0 / 430 MB, free: 7.52 MB / 334.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002755/0.3181, allocations: 117.5 kB / 430.1 MB, free: 7.398 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3181, allocations: 4 kB / 430.1 MB, free: 7.395 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3181, allocations: 0 / 430.1 MB, free: 7.395 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3181, allocations: 4 kB / 430.1 MB, free: 7.391 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.3182, allocations: 16.11 kB / 430.1 MB, free: 7.375 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3182, allocations: 4 kB / 430.1 MB, free: 7.371 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/0.3183, allocations: 19.83 kB / 430.1 MB, free: 7.352 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3183, allocations: 4 kB / 430.1 MB, free: 7.348 MB / 334.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.0001713/0.3185, allocations: 145.7 kB / 430.3 MB, free: 7.195 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/0.3186, allocations: 65.53 kB / 430.4 MB, free: 7.125 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.3189, allocations: 107.3 kB / 430.5 MB, free: 7.012 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.3189, allocations: 8.062 kB / 430.5 MB, free: 7.004 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3189, allocations: 0 / 430.5 MB, free: 7.004 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3189, allocations: 3.938 kB / 430.5 MB, free: 7 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.3191, allocations: 196.7 kB / 430.7 MB, free: 6.766 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3191, allocations: 0 / 430.7 MB, free: 6.766 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.3192, allocations: 4.125 kB / 430.7 MB, free: 6.762 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3192, allocations: 0 / 430.7 MB, free: 6.762 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.3192, allocations: 11.98 kB / 430.7 MB, free: 6.75 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3192, allocations: 3.938 kB / 430.7 MB, free: 6.746 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3192, allocations: 0 / 430.7 MB, free: 6.746 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.3195, allocations: 166.5 kB / 430.8 MB, free: 6.559 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.3195, allocations: 31.78 kB / 430.9 MB, free: 6.527 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.3196, allocations: 11.98 kB / 430.9 MB, free: 6.516 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.972e-05/0.3196, allocations: 4 kB / 430.9 MB, free: 6.512 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3197, allocations: 3.984 kB / 430.9 MB, free: 6.508 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3197, allocations: 7.938 kB / 430.9 MB, free: 6.5 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0002242/0.3199, allocations: 196.5 kB / 431.1 MB, free: 6.309 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3199, allocations: 0 / 431.1 MB, free: 6.309 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.000271/0.3202, allocations: 27.98 kB / 431.1 MB, free: 6.281 MB / 334.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.001547/0.3217, allocations: 413.1 kB / 431.5 MB, free: 6.027 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002612/0.322, allocations: 71.84 kB / 431.6 MB, free: 5.957 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.322, allocations: 256 / 431.6 MB, free: 5.957 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.3221, allocations: 23.98 kB / 431.6 MB, free: 5.934 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.3226, allocations: 65.33 kB / 431.7 MB, free: 5.879 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007633/0.3233, allocations: 308.5 kB / 432 MB, free: 5.547 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.3237, allocations: 0.7358 MB / 432.7 MB, free: 4.785 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 8.456e-05/0.3238, allocations: 25.41 kB / 432.7 MB, free: 4.758 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.3239, allocations: 23.44 kB / 432.8 MB, free: 4.734 MB / 334.1 MB
Notification: Performance of SimCode: time 6.21e-07/0.3239, allocations: 0 / 432.8 MB, free: 4.734 MB / 334.1 MB
Notification: Performance of Templates: time 0.007179/0.331, allocations: 2.453 MB / 435.2 MB, free: 2.305 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.99452712200582]