Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001124/0.001124, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003915/0.003915, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8562/0.8562, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.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.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_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.975e-05, allocations: 6.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002712/0.002731, allocations: 1.544 MB / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003783/0.00311, allocations: 147.4 kB / 327.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.974e-05/0.003199, allocations: 0 / 327.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.00331, allocations: 19.86 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.003416, allocations: 3.938 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.003622, allocations: 43.77 kB / 327.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.003729, allocations: 43.84 kB / 327.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003829, allocations: 15.97 kB / 327.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.294e-05/0.003872, allocations: 19.92 kB / 327.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.003916, allocations: 11.98 kB / 327.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.003942, allocations: 4 kB / 327.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.003952, allocations: 4 kB / 327.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.004008, allocations: 19.91 kB / 327.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.004036, allocations: 11.94 kB / 327.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.004159, allocations: 55.8 kB / 327.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004161, allocations: 0 / 327.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004163, allocations: 4 kB / 327.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.004169, allocations: 0 / 327.8 MB, free: 13.47 MB / 298.7 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.0004242/0.004593, allocations: 309.9 kB / 328.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.004633, allocations: 8.031 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.004667, allocations: 12.88 kB / 328.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.004856, allocations: 137.5 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.004868, allocations: 12.38 kB / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.004878, allocations: 384 / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.005129, allocations: 122.4 kB / 328.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.005138, allocations: 4.125 kB / 328.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.00515, allocations: 4.375 kB / 328.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.005176, allocations: 8.359 kB / 328.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.895e-05/0.005245, allocations: 39.84 kB / 328.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.005564, allocations: 309.6 kB / 328.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.983e-05/0.005654, allocations: 75.78 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.005699, allocations: 38.61 kB / 328.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.005709, allocations: 4 kB / 328.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.005729, allocations: 34.5 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.00573, allocations: 0 / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000224/0.005954, allocations: 113.6 kB / 329 MB, free: 12.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.006014, allocations: 106.8 kB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/0.006107, allocations: 145.6 kB / 329.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.006118, allocations: 25.7 kB / 329.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.006166, allocations: 100.1 kB / 329.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.006178, allocations: 7.938 kB / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.006206, allocations: 17.72 kB / 329.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.006292, allocations: 318.8 kB / 329.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.006322, allocations: 16.28 kB / 329.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.006353, allocations: 25.64 kB / 329.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.006411, allocations: 41.69 kB / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006412, allocations: 0 / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.027e-05/0.006493, allocations: 69.66 kB / 329.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.006506, allocations: 11.94 kB / 329.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.006511, allocations: 3.984 kB / 329.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.006525, allocations: 0 / 329.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.00659, allocations: 8 kB / 329.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006595, allocations: 0 / 329.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.006615, allocations: 7.984 kB / 329.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.00662, allocations: 0 / 329.9 MB, free: 11.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[2],sample1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.284e-05/0.006693, allocations: 117.8 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.006746, allocations: 57.61 kB / 330 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.00677, allocations: 19.86 kB / 330.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.006781, allocations: 7.984 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.006786, allocations: 0 / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.006791, allocations: 8 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.006913, allocations: 113.3 kB / 330.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.006915, allocations: 4 kB / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.006933, allocations: 7.984 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006935, allocations: 0 / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.00694, allocations: 4 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.006942, allocations: 3.938 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006942, allocations: 7.969 kB / 330.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.007081, allocations: 263.5 kB / 330.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.007108, allocations: 19.97 kB / 330.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.00712, allocations: 4 kB / 330.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.007171, allocations: 7.938 kB / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.007213, allocations: 7.922 kB / 330.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.007216, allocations: 0 / 330.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.849e-05/0.007274, allocations: 114.2 kB / 330.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007274, allocations: 4 kB / 330.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.00744, allocations: 4 kB / 330.6 MB, free: 10.3 MB / 298.7 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 8.499e-05/0.007525, allocations: 103.2 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.00764, allocations: 43.91 kB / 330.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.007642, allocations: 0 / 330.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.007671, allocations: 16.17 kB / 330.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.007972, allocations: 24.08 kB / 330.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.008259, allocations: 212.9 kB / 331 MB, free: 9.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.936e-05/0.008318, allocations: 79.08 kB / 331.1 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.008343, allocations: 12.5 kB / 331.1 MB, free: 9.754 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008344, allocations: 0 / 331.1 MB, free: 9.754 MB / 298.7 MB Notification: Performance of Templates: time 0.00156/0.009904, allocations: 0.8299 MB / 331.9 MB, free: 8.926 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.006637214682996]