Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.001553/0.001553, 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.001702/0.001702, 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.564/1.564, 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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked")
translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [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.001998/0.001998, allocations: 60.77 kB / 379 MB, free: 2.68 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3442, allocations: 53.38 MB / 432.4 MB, free: 6.961 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.004536/0.3487, allocations: 1.551 MB / 434 MB, free: 5.406 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0006505/0.3494, allocations: 151.5 kB / 434.1 MB, free: 5.258 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.3495, allocations: 0 / 434.1 MB, free: 5.258 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.3497, allocations: 7.875 kB / 434.1 MB, free: 5.25 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.3499, allocations: 11.92 kB / 434.1 MB, free: 5.238 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.3502, allocations: 39.91 kB / 434.2 MB, free: 5.199 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001468/0.3503, allocations: 43.78 kB / 434.2 MB, free: 5.156 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.3505, allocations: 15.98 kB / 434.2 MB, free: 5.141 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 6.593e-05/0.3505, allocations: 11.94 kB / 434.2 MB, free: 5.129 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/0.3506, allocations: 23.86 kB / 434.3 MB, free: 5.105 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.3506, allocations: 4 kB / 434.3 MB, free: 5.102 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.963e-05/0.3506, allocations: 4 kB / 434.3 MB, free: 5.098 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.3507, allocations: 15.98 kB / 434.3 MB, free: 5.082 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.3508, allocations: 27.75 kB / 434.3 MB, free: 5.055 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.351, allocations: 61.36 kB / 434.4 MB, free: 5 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.351, allocations: 0 / 434.4 MB, free: 5 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.903e-06/0.351, allocations: 4 kB / 434.4 MB, free: 4.996 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.332e-06/0.351, allocations: 0 / 434.4 MB, free: 4.996 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.0006264/0.3516, allocations: 306 kB / 434.7 MB, free: 4.664 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3516, allocations: 8.031 kB / 434.7 MB, free: 4.656 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.3517, allocations: 8.891 kB / 434.7 MB, free: 4.648 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.352, allocations: 142.3 kB / 434.8 MB, free: 4.484 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.3521, allocations: 8.359 kB / 434.8 MB, free: 4.477 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3521, allocations: 4.375 kB / 434.8 MB, free: 4.473 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.3525, allocations: 126.4 kB / 435 MB, free: 4.328 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.3525, allocations: 4.188 kB / 435 MB, free: 4.324 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3525, allocations: 3.938 kB / 435 MB, free: 4.32 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.3525, allocations: 4 kB / 435 MB, free: 4.316 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.3527, allocations: 39.91 kB / 435 MB, free: 4.277 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006353/0.3533, allocations: 337 kB / 435.3 MB, free: 3.898 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.3535, allocations: 87.7 kB / 435.4 MB, free: 3.785 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.3536, allocations: 38.62 kB / 435.5 MB, free: 3.738 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.3536, allocations: 0 / 435.5 MB, free: 3.738 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.3536, allocations: 46.44 kB / 435.5 MB, free: 3.684 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3536, allocations: 0 / 435.5 MB, free: 3.684 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0004446/0.3541, allocations: 105.5 kB / 435.6 MB, free: 3.574 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.3542, allocations: 106.8 kB / 435.7 MB, free: 3.445 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.3544, allocations: 152 kB / 435.9 MB, free: 3.289 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.3545, allocations: 26.08 kB / 435.9 MB, free: 3.258 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.3545, allocations: 92.14 kB / 436 MB, free: 3.164 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3546, allocations: 3.953 kB / 436 MB, free: 3.16 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.3546, allocations: 21.72 kB / 436 MB, free: 3.133 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002203/0.3549, allocations: 322.8 kB / 436.3 MB, free: 2.809 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.3549, allocations: 11.98 kB / 436.3 MB, free: 2.797 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.355, allocations: 43.42 kB / 436.4 MB, free: 2.742 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.3552, allocations: 63.34 kB / 436.4 MB, free: 2.668 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3552, allocations: 3.938 kB / 436.4 MB, free: 2.664 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002115/0.3554, allocations: 81.55 kB / 436.5 MB, free: 2.578 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.3554, allocations: 8 kB / 436.5 MB, free: 2.57 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3554, allocations: 0 / 436.5 MB, free: 2.57 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3555, allocations: 0 / 436.5 MB, free: 2.57 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3556, allocations: 11.98 kB / 436.5 MB, free: 2.559 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3556, allocations: 4 kB / 436.5 MB, free: 2.555 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.3556, allocations: 8 kB / 436.6 MB, free: 2.547 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.3557, allocations: 128 / 436.6 MB, free: 2.547 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 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1])
 * 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.0001756/0.3558, allocations: 133.7 kB / 436.7 MB, free: 2.406 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3559, allocations: 49.64 kB / 436.7 MB, free: 2.352 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.356, allocations: 15.92 kB / 436.7 MB, free: 2.332 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.356, allocations: 4 kB / 436.8 MB, free: 2.328 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.356, allocations: 0 / 436.8 MB, free: 2.328 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.356, allocations: 0 / 436.8 MB, free: 2.328 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.3563, allocations: 148.7 kB / 436.9 MB, free: 2.141 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3563, allocations: 4 kB / 436.9 MB, free: 2.137 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.3563, allocations: 12.03 kB / 436.9 MB, free: 2.125 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3563, allocations: 0 / 436.9 MB, free: 2.125 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3563, allocations: 4 kB / 436.9 MB, free: 2.121 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.3563, allocations: 0 / 436.9 MB, free: 2.121 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3563, allocations: 3.938 kB / 436.9 MB, free: 2.117 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3566, allocations: 267.5 kB / 437.2 MB, free: 1.836 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.3567, allocations: 19.94 kB / 437.2 MB, free: 1.816 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3567, allocations: 144 / 437.2 MB, free: 1.816 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3568, allocations: 11.98 kB / 437.2 MB, free: 1.805 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.3568, allocations: 3.984 kB / 437.2 MB, free: 1.801 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.3568, allocations: 4 kB / 437.2 MB, free: 1.797 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.937e-05/0.3569, allocations: 111.2 kB / 437.3 MB, free: 1.688 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.3569, allocations: 3.938 kB / 437.3 MB, free: 1.684 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002641/0.3572, allocations: 15.98 kB / 437.3 MB, free: 1.668 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (3):
 * Single equations (assignments): 2
 * Array equations: 1
 * 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.0001399/0.3573, allocations: 107.1 kB / 437.5 MB, free: 1.555 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002115/0.3575, allocations: 47.89 kB / 437.5 MB, free: 1.508 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3575, allocations: 0 / 437.5 MB, free: 1.508 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.976e-05/0.3576, allocations: 20.3 kB / 437.5 MB, free: 1.488 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.358, allocations: 28.02 kB / 437.5 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.3585, allocations: 179.2 kB / 437.7 MB, free: 1.254 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.3591, allocations: 0.6962 MB / 438.4 MB, free: 0.5312 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 5.193e-05/0.3592, allocations: 7.984 kB / 438.4 MB, free: 0.5234 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.3592, allocations: 11.44 kB / 438.4 MB, free: 0.5117 MB / 334.1 MB
Notification: Performance of SimCode: time 5.61e-07/0.3592, allocations: 4.094 kB / 438.4 MB, free: 0.5078 MB / 334.1 MB
Notification: Performance of Templates: time 0.004009/0.3632, allocations: 0.6397 MB / 439.1 MB, free: 15.91 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.920016413554549]