Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001669/0.001669, allocations: 112.2 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.001932/0.001932, allocations: 183.7 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.584/1.584, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1")
translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 43.92 kB / 370.9 MB, free: 9.32 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3331, allocations: 52.18 MB / 423.1 MB, free: 14.65 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003803/0.337, allocations: 1.53 MB / 424.6 MB, free: 13.11 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0004863/0.3374, allocations: 135.5 kB / 424.8 MB, free: 12.98 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3375, allocations: 3.938 kB / 424.8 MB, free: 12.98 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 6.799e-05/0.3376, allocations: 3.984 kB / 424.8 MB, free: 12.97 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.3378, allocations: 7.938 kB / 424.8 MB, free: 12.96 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.3381, allocations: 42.7 kB / 424.8 MB, free: 12.93 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001433/0.3383, allocations: 35.92 kB / 424.9 MB, free: 12.89 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3384, allocations: 12 kB / 424.9 MB, free: 12.88 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.3384, allocations: 19.91 kB / 424.9 MB, free: 12.86 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.3385, allocations: 15.88 kB / 424.9 MB, free: 12.84 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3385, allocations: 0 / 424.9 MB, free: 12.84 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.3385, allocations: 4 kB / 424.9 MB, free: 12.84 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.74e-05/0.3386, allocations: 15.92 kB / 424.9 MB, free: 12.82 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.3387, allocations: 15.88 kB / 425 MB, free: 12.81 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.3388, allocations: 47.61 kB / 425 MB, free: 12.77 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3388, allocations: 0 / 425 MB, free: 12.77 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.816e-06/0.3388, allocations: 0 / 425 MB, free: 12.77 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.426e-06/0.3388, allocations: 0 / 425 MB, free: 12.77 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.0006824/0.3395, allocations: 295.5 kB / 425.3 MB, free: 12.45 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3396, allocations: 8.031 kB / 425.3 MB, free: 12.44 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.3396, allocations: 8.891 kB / 425.3 MB, free: 12.43 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.3399, allocations: 146.3 kB / 425.4 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.3399, allocations: 384 / 425.4 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.3399, allocations: 8.375 kB / 425.5 MB, free: 12.26 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.3403, allocations: 117.5 kB / 425.6 MB, free: 12.12 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3403, allocations: 192 / 425.6 MB, free: 12.12 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3403, allocations: 3.938 kB / 425.6 MB, free: 12.12 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3403, allocations: 0 / 425.6 MB, free: 12.12 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.184e-05/0.3404, allocations: 11.94 kB / 425.6 MB, free: 12.11 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.3408, allocations: 232.9 kB / 425.8 MB, free: 11.84 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3409, allocations: 61.14 kB / 425.9 MB, free: 11.76 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.777e-05/0.341, allocations: 29.7 kB / 425.9 MB, free: 11.72 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.341, allocations: 0 / 425.9 MB, free: 11.72 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.341, allocations: 38.55 kB / 425.9 MB, free: 11.68 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.341, allocations: 0 / 425.9 MB, free: 11.68 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002484/0.3413, allocations: 69.58 kB / 426 MB, free: 11.6 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.3414, allocations: 77.11 kB / 426.1 MB, free: 11.51 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3415, allocations: 141.2 kB / 426.2 MB, free: 11.36 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3415, allocations: 25.7 kB / 426.2 MB, free: 11.33 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.3416, allocations: 92.22 kB / 426.3 MB, free: 11.24 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.3416, allocations: 7.922 kB / 426.3 MB, free: 11.23 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.3416, allocations: 21.72 kB / 426.4 MB, free: 11.2 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001742/0.3418, allocations: 318.8 kB / 426.7 MB, free: 10.88 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.3419, allocations: 7.938 kB / 426.7 MB, free: 10.88 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.8e-05/0.3419, allocations: 31.42 kB / 426.7 MB, free: 10.83 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 8.963e-05/0.342, allocations: 43.38 kB / 426.8 MB, free: 10.78 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.342, allocations: 7.938 kB / 426.8 MB, free: 10.77 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.3421, allocations: 65.52 kB / 426.8 MB, free: 10.7 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3422, allocations: 6.625 kB / 426.8 MB, free: 10.7 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3422, allocations: 8 kB / 426.8 MB, free: 10.69 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3422, allocations: 0 / 426.8 MB, free: 10.69 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.542e-05/0.3422, allocations: 3.984 kB / 426.8 MB, free: 10.68 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3422, allocations: 4 kB / 426.8 MB, free: 10.68 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.3422, allocations: 0 / 426.8 MB, free: 10.68 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3423, allocations: 4 kB / 426.9 MB, free: 10.68 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u)
 * 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.000122/0.3424, allocations: 125.7 kB / 427 MB, free: 10.54 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/0.3425, allocations: 49.64 kB / 427 MB, free: 10.49 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.3425, allocations: 16 kB / 427 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3425, allocations: 0 / 427 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3425, allocations: 0 / 427 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3425, allocations: 0 / 427 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.3427, allocations: 148.6 kB / 427.2 MB, free: 10.28 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3427, allocations: 0 / 427.2 MB, free: 10.28 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.3428, allocations: 0 / 427.2 MB, free: 10.28 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3428, allocations: 3.984 kB / 427.2 MB, free: 10.27 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.3428, allocations: 0 / 427.2 MB, free: 10.27 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3428, allocations: 4 kB / 427.2 MB, free: 10.27 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3428, allocations: 3.938 kB / 427.2 MB, free: 10.27 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.343, allocations: 164.3 kB / 427.4 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.343, allocations: 11.98 kB / 427.4 MB, free: 10.07 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.343, allocations: 0 / 427.4 MB, free: 10.07 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.3431, allocations: 4 kB / 427.4 MB, free: 10.07 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.3431, allocations: 0 / 427.4 MB, free: 10.07 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3431, allocations: 0 / 427.4 MB, free: 10.07 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.765e-05/0.3432, allocations: 111.2 kB / 427.5 MB, free: 9.961 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3432, allocations: 0 / 427.5 MB, free: 9.961 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002257/0.3435, allocations: 4 kB / 427.5 MB, free: 9.957 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y)
 * 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.0001428/0.3436, allocations: 95.25 kB / 427.6 MB, free: 9.855 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001602/0.3438, allocations: 32.3 kB / 427.6 MB, free: 9.824 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3438, allocations: 0 / 427.6 MB, free: 9.824 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.3438, allocations: 4.25 kB / 427.6 MB, free: 9.82 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.3442, allocations: 31.19 kB / 427.6 MB, free: 9.793 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.3446, allocations: 162.3 kB / 427.8 MB, free: 9.605 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.3451, allocations: 0.6922 MB / 428.5 MB, free: 8.887 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.258e-05/0.3451, allocations: 8 kB / 428.5 MB, free: 8.879 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.3451, allocations: 7.438 kB / 428.5 MB, free: 8.871 MB / 334.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3451, allocations: 0 / 428.5 MB, free: 8.871 MB / 334.1 MB
Notification: Performance of Templates: time 0.004337/0.3495, allocations: 0.4925 MB / 429 MB, free: 8.379 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.8308890936896205]