Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.001745/0.001745, allocations: 112 kB / 20.43 MB, free: 1.449 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.001868/0.001868, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.6/1.6, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 55.92 kB / 370.9 MB, free: 9.336 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3182, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002987/0.3211, allocations: 1.561 MB / 424.7 MB, free: 13.11 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0004124/0.3216, allocations: 143.5 kB / 424.8 MB, free: 12.96 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-05/0.3216, allocations: 7.938 kB / 424.8 MB, free: 12.96 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.3218, allocations: 7.922 kB / 424.8 MB, free: 12.95 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.3219, allocations: 7.875 kB / 424.8 MB, free: 12.94 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.3221, allocations: 35.91 kB / 424.9 MB, free: 12.91 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3222, allocations: 39.91 kB / 424.9 MB, free: 12.87 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3224, allocations: 8 kB / 424.9 MB, free: 12.86 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.3224, allocations: 23.86 kB / 424.9 MB, free: 12.84 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.3225, allocations: 19.92 kB / 425 MB, free: 12.82 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.3225, allocations: 4 kB / 425 MB, free: 12.81 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.3225, allocations: 4 kB / 425 MB, free: 12.81 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.3226, allocations: 23.86 kB / 425 MB, free: 12.79 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.3226, allocations: 31.73 kB / 425 MB, free: 12.75 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.3228, allocations: 53.02 kB / 425.1 MB, free: 12.71 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3228, allocations: 0 / 425.1 MB, free: 12.71 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.874e-06/0.3228, allocations: 0 / 425.1 MB, free: 12.71 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.033e-06/0.3228, allocations: 0 / 425.1 MB, free: 12.71 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.0005788/0.3234, allocations: 317.9 kB / 425.4 MB, free: 12.36 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3234, allocations: 8.031 kB / 425.4 MB, free: 12.36 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.3235, allocations: 12.84 kB / 425.4 MB, free: 12.34 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3237, allocations: 134.4 kB / 425.5 MB, free: 12.19 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3237, allocations: 8.359 kB / 425.5 MB, free: 12.18 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.3238, allocations: 8.312 kB / 425.6 MB, free: 12.17 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.3241, allocations: 126.4 kB / 425.7 MB, free: 12.03 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3241, allocations: 192 / 425.7 MB, free: 12.03 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.3241, allocations: 11.92 kB / 425.7 MB, free: 12.02 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.3241, allocations: 8 kB / 425.7 MB, free: 12.01 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.3243, allocations: 31.97 kB / 425.7 MB, free: 11.98 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.3248, allocations: 344.9 kB / 426.1 MB, free: 11.59 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.3249, allocations: 79.72 kB / 426.1 MB, free: 11.48 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.501e-05/0.325, allocations: 38.62 kB / 426.2 MB, free: 11.44 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.325, allocations: 4 kB / 426.2 MB, free: 11.43 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3251, allocations: 30.56 kB / 426.2 MB, free: 11.39 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3251, allocations: 0 / 426.2 MB, free: 11.39 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0003739/0.3254, allocations: 113.7 kB / 426.3 MB, free: 11.28 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.3255, allocations: 106.8 kB / 426.4 MB, free: 11.15 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3257, allocations: 144.4 kB / 426.6 MB, free: 11 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3257, allocations: 25.7 kB / 426.6 MB, free: 10.97 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.3257, allocations: 100 kB / 426.7 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.3258, allocations: 3.984 kB / 426.7 MB, free: 10.86 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.3258, allocations: 21.86 kB / 426.7 MB, free: 10.84 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001464/0.3259, allocations: 318.8 kB / 427 MB, free: 10.52 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.326, allocations: 19.97 kB / 427 MB, free: 10.5 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.3261, allocations: 39.42 kB / 427.1 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3263, allocations: 59.34 kB / 427.1 MB, free: 10.38 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3263, allocations: 7.938 kB / 427.2 MB, free: 10.37 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001911/0.3264, allocations: 77.55 kB / 427.2 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3265, allocations: 8 kB / 427.2 MB, free: 10.28 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3265, allocations: 8.109 kB / 427.2 MB, free: 10.27 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3265, allocations: 0 / 427.2 MB, free: 10.27 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.3266, allocations: 8 kB / 427.3 MB, free: 10.26 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3266, allocations: 4 kB / 427.3 MB, free: 10.26 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.3266, allocations: 7.984 kB / 427.3 MB, free: 10.25 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3266, allocations: 0 / 427.3 MB, free: 10.25 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.00012/0.3268, allocations: 121.8 kB / 427.4 MB, free: 10.12 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3269, allocations: 65.53 kB / 427.4 MB, free: 10.05 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.3269, allocations: 15.95 kB / 427.5 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.3269, allocations: 0 / 427.5 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3269, allocations: 4 kB / 427.5 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3269, allocations: 0 / 427.5 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.3272, allocations: 144.7 kB / 427.6 MB, free: 9.844 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3272, allocations: 0 / 427.6 MB, free: 9.844 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.3272, allocations: 11.98 kB / 427.6 MB, free: 9.832 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3272, allocations: 0 / 427.6 MB, free: 9.832 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3272, allocations: 7.938 kB / 427.6 MB, free: 9.824 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3272, allocations: 0 / 427.6 MB, free: 9.824 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3272, allocations: 4.031 kB / 427.6 MB, free: 9.82 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.3275, allocations: 271.5 kB / 427.9 MB, free: 9.535 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.3275, allocations: 19.94 kB / 427.9 MB, free: 9.516 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.3276, allocations: 144 / 427.9 MB, free: 9.516 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.3277, allocations: 8 kB / 427.9 MB, free: 9.508 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.3277, allocations: 11.97 kB / 427.9 MB, free: 9.496 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.3277, allocations: 4 kB / 427.9 MB, free: 9.492 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 8.075e-05/0.3278, allocations: 103.3 kB / 428 MB, free: 9.391 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3278, allocations: 3.938 kB / 428 MB, free: 9.387 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002696/0.3281, allocations: 8 kB / 428.1 MB, free: 9.379 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.0001124/0.3282, allocations: 103.2 kB / 428.2 MB, free: 9.27 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002022/0.3284, allocations: 47.91 kB / 428.2 MB, free: 9.223 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3284, allocations: 0 / 428.2 MB, free: 9.223 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.848e-05/0.3285, allocations: 23.92 kB / 428.2 MB, free: 9.199 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.3289, allocations: 27.39 kB / 428.2 MB, free: 9.176 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.3293, allocations: 191.5 kB / 428.4 MB, free: 8.957 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.3297, allocations: 0.6924 MB / 429.1 MB, free: 8.238 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 6.07e-05/0.3297, allocations: 7.984 kB / 429.1 MB, free: 8.23 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.3298, allocations: 15.44 kB / 429.2 MB, free: 8.215 MB / 334.1 MB
Notification: Performance of SimCode: time 3.9e-07/0.3298, allocations: 0 / 429.2 MB, free: 8.215 MB / 334.1 MB
Notification: Performance of Templates: time 0.004607/0.3344, allocations: 0.6332 MB / 429.8 MB, free: 7.598 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.915916201658547]