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.001113/0.001113, allocations: 80.72 kB / 22.21 MB, free: 2.297 MB / 18.57 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.001077/0.001077, allocations: 146.6 kB / 25.59 MB, free: 8.613 MB / 18.57 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 0.9377/0.9377, allocations: 173.4 MB / 202.2 MB, free: 8.312 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.84e-05, allocations: 6.875 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002108/0.002126, allocations: 1.567 MB / 270.8 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003194/0.002446, allocations: 148.1 kB / 270.9 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.918e-05/0.002525, allocations: 6.031 kB / 270.9 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.002629, allocations: 7.938 kB / 270.9 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.206e-05/0.002721, allocations: 19.84 kB / 270.9 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.002901, allocations: 35.84 kB / 271 MB, free: 8.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.04e-05/0.002991, allocations: 43.84 kB / 271 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.003083, allocations: 7.938 kB / 271 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.125e-05/0.003124, allocations: 25.31 kB / 271.1 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.003165, allocations: 11.92 kB / 271.1 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.003186, allocations: 4 kB / 271.1 MB, free: 7.922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-06/0.003195, allocations: 4.688 kB / 271.1 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.003246, allocations: 19.92 kB / 271.1 MB, free: 7.898 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.003271, allocations: 12.53 kB / 271.1 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.003385, allocations: 39.83 kB / 271.1 MB, free: 7.848 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003387, allocations: 1.969 kB / 271.1 MB, free: 7.848 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003388, allocations: 0 / 271.1 MB, free: 7.848 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.003392, allocations: 0 / 271.1 MB, free: 7.848 MB / 250.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.0003485/0.00374, allocations: 412.2 kB / 271.5 MB, free: 7.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.003772, allocations: 8.031 kB / 271.6 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.0038, allocations: 17.47 kB / 271.6 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.003937, allocations: 138 kB / 271.7 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.003945, allocations: 4.375 kB / 271.7 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.003951, allocations: 384 / 271.7 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.004108, allocations: 126.3 kB / 271.8 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.004114, allocations: 0.9375 kB / 271.8 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.00412, allocations: 384 / 271.8 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.004143, allocations: 9.047 kB / 271.8 MB, free: 7.059 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.004162, allocations: 23.81 kB / 271.9 MB, free: 7.035 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.004414, allocations: 383 kB / 272.2 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.736e-05/0.004491, allocations: 89.17 kB / 272.3 MB, free: 6.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.004514, allocations: 27.19 kB / 272.4 MB, free: 6.461 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.004519, allocations: 3.938 kB / 272.4 MB, free: 6.457 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.004538, allocations: 37.39 kB / 272.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.004539, allocations: 0 / 272.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001331/0.004672, allocations: 65.86 kB / 272.5 MB, free: 6.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.004718, allocations: 110.8 kB / 272.6 MB, free: 6.207 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.647e-05/0.004804, allocations: 204.9 kB / 272.8 MB, free: 5.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.004813, allocations: 25.7 kB / 272.8 MB, free: 5.961 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.00486, allocations: 134.9 kB / 272.9 MB, free: 5.824 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.846e-06/0.004869, allocations: 7.922 kB / 272.9 MB, free: 5.816 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.004895, allocations: 23.33 kB / 273 MB, free: 5.785 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.005008, allocations: 0.4923 MB / 273.4 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-06/0.005014, allocations: 0 / 273.4 MB, free: 5.281 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.005031, allocations: 23.38 kB / 273.5 MB, free: 5.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/0.005054, allocations: 23.47 kB / 273.5 MB, free: 5.219 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005056, allocations: 0 / 273.5 MB, free: 5.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.72e-05/0.005103, allocations: 41.62 kB / 273.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.005115, allocations: 9.875 kB / 273.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.005119, allocations: 0 / 273.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.005128, allocations: 3.938 kB / 273.5 MB, free: 5.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.005171, allocations: 4 kB / 273.6 MB, free: 5.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.005176, allocations: 4 kB / 273.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.005192, allocations: 4.062 kB / 273.6 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.005196, allocations: 3.938 kB / 273.6 MB, free: 5.145 MB / 250.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 8.14e-05/0.005277, allocations: 164.6 kB / 273.7 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.005333, allocations: 37.66 kB / 273.8 MB, free: 4.93 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.005357, allocations: 15.92 kB / 273.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.00537, allocations: 11.92 kB / 273.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.005372, allocations: 0 / 273.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.005376, allocations: 3.938 kB / 273.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.005499, allocations: 113.2 kB / 273.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.005501, allocations: 0 / 273.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.005519, allocations: 12.03 kB / 273.9 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.00552, allocations: 0 / 273.9 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.005525, allocations: 4 kB / 273.9 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005526, allocations: 0 / 273.9 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005527, allocations: 3.938 kB / 273.9 MB, free: 4.738 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.005651, allocations: 322.7 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.005675, allocations: 15.94 kB / 274.3 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.005684, allocations: 3.984 kB / 274.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.005737, allocations: 4 kB / 274.3 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.005764, allocations: 11.97 kB / 274.3 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.005768, allocations: 4 kB / 274.3 MB, free: 4.359 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.527e-05/0.005813, allocations: 143.1 kB / 274.4 MB, free: 4.219 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005813, allocations: 0 / 274.4 MB, free: 4.219 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.005972, allocations: 4 kB / 274.4 MB, free: 4.215 MB / 250.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 7.463e-05/0.006047, allocations: 103.2 kB / 274.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.909e-05/0.006116, allocations: 19.69 kB / 274.5 MB, free: 4.082 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006117, allocations: 0 / 274.5 MB, free: 4.082 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/0.006135, allocations: 23.73 kB / 274.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.006412, allocations: 12.59 kB / 274.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.006664, allocations: 176.6 kB / 274.7 MB, free: 3.832 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.006706, allocations: 63.34 kB / 274.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.748e-05/0.006723, allocations: 3.984 kB / 274.8 MB, free: 3.746 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.006775, allocations: 74.2 kB / 274.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006775, allocations: 0 / 274.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of Templates: time 0.002236/0.009011, allocations: 0.7385 MB / 275.6 MB, free: 2.957 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7395653622224927]