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.001228/0.001228, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.006654/0.006654, allocations: 159.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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.8974/0.8974, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.405e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001977/0.002001, allocations: 1.556 MB / 327.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003017/0.002303, allocations: 143.5 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.002373, allocations: 7.938 kB / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.534e-05/0.002458, allocations: 3.938 kB / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.502e-05/0.002543, allocations: 11.86 kB / 327.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.002715, allocations: 43.84 kB / 327.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.658e-05/0.002812, allocations: 39.84 kB / 327.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.002909, allocations: 11.98 kB / 327.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.00295, allocations: 27.91 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.002988, allocations: 15.92 kB / 327.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.00301, allocations: 0 / 327.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-06/0.003019, allocations: 4 kB / 327.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.003066, allocations: 11.94 kB / 327.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.003091, allocations: 15.98 kB / 327.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.003192, allocations: 59.73 kB / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003194, allocations: 0 / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003195, allocations: 4 kB / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.003199, allocations: 0 / 327.7 MB, free: 13.45 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.0003734/0.003573, allocations: 309.9 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.00361, allocations: 11.98 kB / 328 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.003641, allocations: 8.891 kB / 328 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.003819, allocations: 137.6 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.003828, allocations: 4.375 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.003837, allocations: 4.375 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.004058, allocations: 126.4 kB / 328.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.004066, allocations: 192 / 328.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.004076, allocations: 8.375 kB / 328.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.004096, allocations: 384 / 328.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.432e-05/0.00416, allocations: 43.84 kB / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.004423, allocations: 301.6 kB / 328.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.278e-05/0.004506, allocations: 87.77 kB / 328.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.004545, allocations: 30.62 kB / 328.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.004554, allocations: 7.938 kB / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.004572, allocations: 34.56 kB / 328.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.004573, allocations: 3.938 kB / 328.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002117/0.004785, allocations: 117.8 kB / 328.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.004834, allocations: 106.8 kB / 329 MB, free: 11.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.004919, allocations: 156.6 kB / 329.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.657e-06/0.004927, allocations: 25.7 kB / 329.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.004964, allocations: 88.14 kB / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.004972, allocations: 3.953 kB / 329.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.004999, allocations: 25.7 kB / 329.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.534e-05/0.005064, allocations: 310.8 kB / 329.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.005095, allocations: 15.98 kB / 329.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.851e-05/0.005124, allocations: 25.73 kB / 329.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.561e-05/0.005179, allocations: 41.69 kB / 329.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.005181, allocations: 0 / 329.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.512e-05/0.005256, allocations: 69.56 kB / 329.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.005268, allocations: 7.938 kB / 329.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.005273, allocations: 128 / 329.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.005284, allocations: 4 kB / 329.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.005335, allocations: 11.98 kB / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.00534, allocations: 0 / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.005359, allocations: 8 kB / 329.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.005363, allocations: 0 / 329.8 MB, free: 11.11 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 6.068e-05/0.005424, allocations: 121.8 kB / 329.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.005469, allocations: 53.58 kB / 330 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.00549, allocations: 15.86 kB / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.005499, allocations: 4.031 kB / 330 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.005503, allocations: 4 kB / 330 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.005506, allocations: 4 kB / 330 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.005622, allocations: 125.3 kB / 330.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.005624, allocations: 0 / 330.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.005645, allocations: 4 kB / 330.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.005648, allocations: 4 kB / 330.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.005654, allocations: 3.984 kB / 330.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005656, allocations: 3.938 kB / 330.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.005657, allocations: 3.938 kB / 330.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.005797, allocations: 271.5 kB / 330.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.005823, allocations: 15.95 kB / 330.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.005835, allocations: 3.984 kB / 330.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.323e-05/0.005888, allocations: 11.94 kB / 330.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.005917, allocations: 0 / 330.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.00592, allocations: 4 kB / 330.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.5e-05/0.005965, allocations: 107.2 kB / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005965, allocations: 0 / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.006124, allocations: 11.94 kB / 330.6 MB, free: 10.29 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 6.713e-05/0.006191, allocations: 111.2 kB / 330.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.006298, allocations: 39.91 kB / 330.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006299, allocations: 0 / 330.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.006331, allocations: 19.98 kB / 330.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.006604, allocations: 23.95 kB / 330.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.006864, allocations: 207.6 kB / 331 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.078e-05/0.006924, allocations: 87.06 kB / 331 MB, free: 9.738 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.006948, allocations: 12.5 kB / 331.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006949, allocations: 0 / 331.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of Templates: time 0.001542/0.008491, allocations: 0.8261 MB / 331.9 MB, free: 8.91 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.247417793609202]