Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.00141/0.00141, allocations: 109.5 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.001514/0.001514, allocations: 190.3 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.63/1.63, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.RealSignals.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.RealSignals.SampleVectorizedAndClocked")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 51.92 kB / 370.9 MB, free: 9.336 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3807, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003623/0.3843, allocations: 1.635 MB / 424.8 MB, free: 13.03 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001002/0.3853, allocations: 490.8 kB / 425.2 MB, free: 12.54 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.3854, allocations: 4 kB / 425.2 MB, free: 12.54 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00012/0.3855, allocations: 7.875 kB / 425.3 MB, free: 12.53 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.3857, allocations: 19.84 kB / 425.3 MB, free: 12.51 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.386, allocations: 51.81 kB / 425.3 MB, free: 12.46 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001456/0.3861, allocations: 59.78 kB / 425.4 MB, free: 12.4 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3862, allocations: 11.98 kB / 425.4 MB, free: 12.39 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.572e-05/0.3863, allocations: 27.86 kB / 425.4 MB, free: 12.36 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.75e-05/0.3864, allocations: 35.78 kB / 425.5 MB, free: 12.33 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.3864, allocations: 8 kB / 425.5 MB, free: 12.32 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.3864, allocations: 4 kB / 425.5 MB, free: 12.32 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.3865, allocations: 15.92 kB / 425.5 MB, free: 12.3 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.3866, allocations: 27.81 kB / 425.5 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.3867, allocations: 72.92 kB / 425.6 MB, free: 12.21 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3867, allocations: 0 / 425.6 MB, free: 12.21 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.242e-06/0.3867, allocations: 0 / 425.6 MB, free: 12.21 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.731e-06/0.3867, allocations: 0 / 425.6 MB, free: 12.21 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.0005996/0.3873, allocations: 325.8 kB / 425.9 MB, free: 11.86 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3874, allocations: 16.03 kB / 425.9 MB, free: 11.84 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.3874, allocations: 12.89 kB / 425.9 MB, free: 11.83 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.3877, allocations: 146.2 kB / 426.1 MB, free: 11.66 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3877, allocations: 8.312 kB / 426.1 MB, free: 11.66 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.3877, allocations: 4.375 kB / 426.1 MB, free: 11.65 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.3881, allocations: 138.2 kB / 426.2 MB, free: 11.5 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3881, allocations: 0 / 426.2 MB, free: 11.5 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3881, allocations: 0 / 426.2 MB, free: 11.5 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.3881, allocations: 4 kB / 426.2 MB, free: 11.49 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.3883, allocations: 35.97 kB / 426.3 MB, free: 11.46 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.3888, allocations: 348.9 kB / 426.6 MB, free: 11.07 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.389, allocations: 79.77 kB / 426.7 MB, free: 10.96 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.592e-05/0.3891, allocations: 42.62 kB / 426.7 MB, free: 10.91 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3891, allocations: 3.984 kB / 426.7 MB, free: 10.91 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.3891, allocations: 38.56 kB / 426.8 MB, free: 10.86 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.3891, allocations: 0 / 426.8 MB, free: 10.86 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0004026/0.3895, allocations: 117.8 kB / 426.9 MB, free: 10.74 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.103e-05/0.3896, allocations: 106.8 kB / 427 MB, free: 10.61 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3898, allocations: 149.7 kB / 427.1 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3898, allocations: 29.7 kB / 427.2 MB, free: 10.42 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.3899, allocations: 96.08 kB / 427.2 MB, free: 10.32 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.3899, allocations: 15.89 kB / 427.3 MB, free: 10.31 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.3899, allocations: 13.72 kB / 427.3 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001556/0.3901, allocations: 326.8 kB / 427.6 MB, free: 9.961 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.3902, allocations: 19.98 kB / 427.6 MB, free: 9.941 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.3902, allocations: 39.42 kB / 427.7 MB, free: 9.891 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.3904, allocations: 71.33 kB / 427.7 MB, free: 9.809 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3904, allocations: 0 / 427.7 MB, free: 9.809 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002136/0.3906, allocations: 85.5 kB / 427.8 MB, free: 9.719 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.3907, allocations: 11.98 kB / 427.8 MB, free: 9.707 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3907, allocations: 0 / 427.8 MB, free: 9.707 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3907, allocations: 4.125 kB / 427.8 MB, free: 9.703 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3908, allocations: 8 kB / 427.8 MB, free: 9.695 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3908, allocations: 7.984 kB / 427.8 MB, free: 9.688 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.3909, allocations: 4 kB / 427.8 MB, free: 9.684 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3909, allocations: 0 / 427.8 MB, free: 9.684 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: 0 ()
 * 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.0001137/0.391, allocations: 125.8 kB / 428 MB, free: 9.551 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3911, allocations: 53.59 kB / 428 MB, free: 9.492 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.3911, allocations: 15.95 kB / 428 MB, free: 9.473 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.3911, allocations: 4.031 kB / 428 MB, free: 9.469 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3911, allocations: 4 kB / 428 MB, free: 9.465 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3911, allocations: 3.938 kB / 428 MB, free: 9.461 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.3914, allocations: 156.6 kB / 428.2 MB, free: 9.266 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3914, allocations: 0 / 428.2 MB, free: 9.266 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.3915, allocations: 7.984 kB / 428.2 MB, free: 9.258 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3915, allocations: 4 kB / 428.2 MB, free: 9.254 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3915, allocations: 0 / 428.2 MB, free: 9.254 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3915, allocations: 0 / 428.2 MB, free: 9.254 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3915, allocations: 0 / 428.2 MB, free: 9.254 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.3918, allocations: 287.5 kB / 428.5 MB, free: 8.953 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.3919, allocations: 15.94 kB / 428.5 MB, free: 8.938 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3919, allocations: 0 / 428.5 MB, free: 8.938 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.392, allocations: 7.984 kB / 428.5 MB, free: 8.93 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.3921, allocations: 8 kB / 428.5 MB, free: 8.922 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3921, allocations: 4 kB / 428.5 MB, free: 8.918 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.215e-05/0.3922, allocations: 111.2 kB / 428.6 MB, free: 8.809 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3922, allocations: 0 / 428.6 MB, free: 8.809 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002761/0.3924, allocations: 15.92 kB / 428.6 MB, free: 8.793 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: 0 ()
 * 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.0001157/0.3926, allocations: 103.2 kB / 428.7 MB, free: 8.684 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002241/0.3928, allocations: 59.97 kB / 428.8 MB, free: 8.625 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3928, allocations: 0 / 428.8 MB, free: 8.625 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.6e-05/0.3929, allocations: 15.92 kB / 428.8 MB, free: 8.609 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.3933, allocations: 31.95 kB / 428.9 MB, free: 8.578 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.3938, allocations: 201.9 kB / 429.1 MB, free: 8.344 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3941, allocations: 0.7117 MB / 429.8 MB, free: 7.605 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 5.54e-05/0.3942, allocations: 7.984 kB / 429.8 MB, free: 7.598 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.3942, allocations: 11.44 kB / 429.8 MB, free: 7.586 MB / 334.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.3942, allocations: 0 / 429.8 MB, free: 7.586 MB / 334.1 MB
Notification: Performance of Templates: time 0.003682/0.3979, allocations: 0.7203 MB / 430.5 MB, free: 6.883 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.9819875955581665]