Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 207.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 7.805 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 51.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3624, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.004075/0.3665, allocations: 1.62 MB / 433.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3678, allocations: 0.5143 MB / 433.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.368, allocations: 7.938 kB / 433.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.3681, allocations: 7.938 kB / 433.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.3683, allocations: 23.84 kB / 433.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.3687, allocations: 66.12 kB / 433.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.3689, allocations: 63.72 kB / 433.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.369, allocations: 15.97 kB / 433.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.3691, allocations: 39.86 kB / 433.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.3692, allocations: 27.8 kB / 434 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3692, allocations: 4 kB / 434 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.083e-05/0.3693, allocations: 12 kB / 434 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.3694, allocations: 23.91 kB / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.3694, allocations: 27.8 kB / 434 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.3696, allocations: 73.91 kB / 434.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3696, allocations: 4 kB / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3696, allocations: 0 / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3696, allocations: 0 / 434.1 MB, free: 4.195 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.0006076/0.3702, allocations: 321.8 kB / 434.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.3703, allocations: 12.03 kB / 434.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.3705, allocations: 24.88 kB / 434.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.3708, allocations: 162.2 kB / 434.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3708, allocations: 384 / 434.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.3709, allocations: 4.375 kB / 434.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.3712, allocations: 130.2 kB / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3712, allocations: 0 / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3713, allocations: 0 / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.3713, allocations: 8 kB / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.3714, allocations: 39.89 kB / 434.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3719, allocations: 309.6 kB / 435.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.3721, allocations: 91.77 kB / 435.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.253e-05/0.3722, allocations: 38.56 kB / 435.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3722, allocations: 3.984 kB / 435.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3722, allocations: 42.5 kB / 435.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3722, allocations: 0 / 435.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004223/0.3727, allocations: 121.5 kB / 435.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.97e-05/0.3728, allocations: 106.8 kB / 435.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.373, allocations: 158.2 kB / 435.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.373, allocations: 25.7 kB / 435.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3731, allocations: 96.45 kB / 435.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.3731, allocations: 11.94 kB / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.3732, allocations: 17.72 kB / 435.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.3734, allocations: 326.8 kB / 436.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.3735, allocations: 11.98 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.3736, allocations: 47.36 kB / 436.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.3738, allocations: 67.34 kB / 436.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.3738, allocations: 3.938 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002166/0.374, allocations: 85.55 kB / 436.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.374, allocations: 8 kB / 436.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.374, allocations: 0 / 436.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.374, allocations: 0 / 436.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3742, allocations: 11.98 kB / 436.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3742, allocations: 12.06 kB / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.3742, allocations: 11.98 kB / 436.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3742, allocations: 0 / 436.4 MB, free: 1.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: 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.0001391/0.3744, allocations: 125.7 kB / 436.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.3745, allocations: 53.59 kB / 436.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.3745, allocations: 15.92 kB / 436.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.3746, allocations: 7.984 kB / 436.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3746, allocations: 0 / 436.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3746, allocations: 0 / 436.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.3748, allocations: 133.3 kB / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3748, allocations: 0 / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.17e-05/0.3749, allocations: 4 kB / 436.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.3749, allocations: 4 kB / 436.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3749, allocations: 7.984 kB / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3749, allocations: 0 / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3749, allocations: 0 / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.3752, allocations: 275.5 kB / 437 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.3753, allocations: 11.94 kB / 437 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.3753, allocations: 8 kB / 437 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3754, allocations: 11.98 kB / 437 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.3755, allocations: 0 / 437 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3755, allocations: 4 kB / 437 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.3756, allocations: 120.1 kB / 437.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3756, allocations: 0 / 437.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3759, allocations: 8 kB / 437.1 MB, free: 0.8359 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.0001343/0.376, allocations: 103.2 kB / 437.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.3763, allocations: 55.91 kB / 437.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3763, allocations: 0 / 437.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.3763, allocations: 19.92 kB / 437.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.3768, allocations: 41.94 kB / 437.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.3773, allocations: 205 kB / 437.6 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3774, allocations: 93.39 kB / 437.7 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.095e-05/0.3774, allocations: 8.125 kB / 437.7 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.3775, allocations: 15.42 kB / 437.7 MB, free: 248 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3775, allocations: 0 / 437.7 MB, free: 248 kB / 334.1 MB Notification: Performance of Templates: time 0.003706/0.3812, allocations: 0.8026 MB / 438.5 MB, free: 15.45 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.723623177967966]