Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001623/0.00275, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002461, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9298/0.9298, allocations: 177.5 MB / 190 MB, free: 4.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09157/1.021, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.288e-05, allocations: 5.406 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003323/0.003346, allocations: 1.646 MB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003635/0.003709, allocations: 164 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.003788, allocations: 0 / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.177e-05/0.00387, allocations: 7.922 kB / 247 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.905e-05/0.003939, allocations: 11.88 kB / 247 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.004143, allocations: 39.83 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.004252, allocations: 39.86 kB / 247.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.004341, allocations: 11.98 kB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.004414, allocations: 35.91 kB / 247.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.004471, allocations: 15.92 kB / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.004498, allocations: 4 kB / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.004511, allocations: 4 kB / 247.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.004561, allocations: 11.94 kB / 247.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.00459, allocations: 11.94 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.004708, allocations: 39.78 kB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.004719, allocations: 0 / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.00472, allocations: 0 / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.00473, allocations: 0 / 247.2 MB, free: 11.5 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.0004012/0.005132, allocations: 292.3 kB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.00517, allocations: 12.62 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.005209, allocations: 8.938 kB / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.005406, allocations: 137.6 kB / 247.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.005417, allocations: 8.312 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.005427, allocations: 384 / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.005642, allocations: 120.8 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.00565, allocations: 192 / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.005657, allocations: 4.375 kB / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.00569, allocations: 4.375 kB / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.651e-05/0.005717, allocations: 18.69 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.005983, allocations: 251 kB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.425e-05/0.006057, allocations: 58.62 kB / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.006083, allocations: 26.62 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.00609, allocations: 0 / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.006117, allocations: 38.5 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.006118, allocations: 4 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001515/0.006269, allocations: 57.55 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.006326, allocations: 102.8 kB / 248.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.006424, allocations: 146 kB / 248.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.006436, allocations: 25.7 kB / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.006485, allocations: 92.11 kB / 248.6 MB, free: 9.922 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.006499, allocations: 0 / 248.6 MB, free: 9.922 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.006533, allocations: 17.67 kB / 248.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.006624, allocations: 319.2 kB / 248.9 MB, free: 9.578 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.006637, allocations: 19.94 kB / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/0.006653, allocations: 9.719 kB / 249 MB, free: 9.543 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.151e-05/0.006684, allocations: 20.55 kB / 249 MB, free: 9.516 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006686, allocations: 0 / 249 MB, free: 9.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.778e-05/0.006754, allocations: 41.62 kB / 249 MB, free: 9.469 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.006768, allocations: 4 kB / 249 MB, free: 9.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.006773, allocations: 0 / 249 MB, free: 9.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.006786, allocations: 7.938 kB / 249 MB, free: 9.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.961e-05/0.006846, allocations: 8.125 kB / 249 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.00685, allocations: 3.984 kB / 249 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.006874, allocations: 4 kB / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006879, allocations: 3.938 kB / 249.1 MB, free: 9.438 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.734e-05/0.006966, allocations: 120.6 kB / 249.2 MB, free: 9.309 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.007048, allocations: 41.62 kB / 249.2 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.007072, allocations: 7.969 kB / 249.2 MB, free: 9.254 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.007094, allocations: 7.938 kB / 249.2 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.007096, allocations: 0 / 249.2 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.0071, allocations: 8.031 kB / 249.2 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.007285, allocations: 73.88 kB / 249.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.007288, allocations: 0 / 249.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.007324, allocations: 7.984 kB / 249.3 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.007365, allocations: 19.94 kB / 249.3 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.007369, allocations: 0 / 249.3 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.007375, allocations: 4 kB / 249.3 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.007379, allocations: 3.984 kB / 249.3 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.007382, allocations: 3.938 kB / 249.3 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.00752, allocations: 218.5 kB / 249.6 MB, free: 8.875 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.007533, allocations: 8.016 kB / 249.6 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.007625, allocations: 4 kB / 249.6 MB, free: 8.863 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.007655, allocations: 11.94 kB / 249.6 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.007661, allocations: 0 / 249.6 MB, free: 8.852 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.44e-05/0.007695, allocations: 24.83 kB / 249.6 MB, free: 8.824 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007695, allocations: 0 / 249.6 MB, free: 8.824 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.007935, allocations: 8 kB / 249.6 MB, free: 8.816 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 0.0001107/0.008046, allocations: 80.41 kB / 249.7 MB, free: 8.727 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.156e-05/0.008118, allocations: 24.8 kB / 249.7 MB, free: 8.699 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.008125, allocations: 8 kB / 249.7 MB, free: 8.691 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.197e-05/0.008147, allocations: 12.8 kB / 249.7 MB, free: 8.676 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.008545, allocations: 112.5 kB / 249.9 MB, free: 8.543 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.009048, allocations: 184 kB / 250 MB, free: 8.332 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.959e-05/0.009098, allocations: 59.34 kB / 250.1 MB, free: 8.254 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.976e-05/0.009127, allocations: 4.5 kB / 250.1 MB, free: 8.25 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.009189, allocations: 59.36 kB / 250.2 MB, free: 8.191 MB / 250.7 MB Notification: Performance of SimCode: time 1.232e-06/0.009191, allocations: 4 kB / 250.2 MB, free: 8.188 MB / 250.7 MB Notification: Performance of Templates: time 0.002823/0.01201, allocations: 0.6843 MB / 250.8 MB, free: 7.527 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.2597042145207524]