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.001444/0.001444, allocations: 88.2 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001482/0.001482, allocations: 158.7 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.494/1.494, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] 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 2.154e-06/2.154e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.962e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003532/0.003561, allocations: 1.544 MB / 326.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005119/0.004073, allocations: 154 kB / 326.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.004175, allocations: 6.188 kB / 326.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.004302, allocations: 5.484 kB / 326.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.004413, allocations: 11.73 kB / 326.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.004696, allocations: 36.95 kB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.004835, allocations: 41.31 kB / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.004959, allocations: 16.14 kB / 326.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.517e-05/0.005024, allocations: 22.03 kB / 326.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.005082, allocations: 14.81 kB / 326.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.005108, allocations: 3.531 kB / 326.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.005124, allocations: 7.188 kB / 326.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.005187, allocations: 15.53 kB / 326.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.005233, allocations: 14.41 kB / 326.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.005388, allocations: 58.67 kB / 327 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005391, allocations: 0 / 327 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005392, allocations: 1.375 kB / 327 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.005397, allocations: 0 / 327 MB, free: 15.21 MB / 302.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.0005869/0.005984, allocations: 309.5 kB / 327.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.00603, allocations: 13.45 kB / 327.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.00608, allocations: 9.703 kB / 327.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.00639, allocations: 141.4 kB / 327.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.006404, allocations: 1.812 kB / 327.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.006417, allocations: 4.094 kB / 327.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.006767, allocations: 122.9 kB / 327.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.006778, allocations: 192 / 327.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.006794, allocations: 9.312 kB / 327.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.006821, allocations: 7.281 kB / 327.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.006962, allocations: 46.83 kB / 327.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.007438, allocations: 308.3 kB / 327.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.007595, allocations: 78.77 kB / 328 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.007687, allocations: 37 kB / 328 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.007695, allocations: 0 / 328 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.007732, allocations: 37 kB / 328.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.007734, allocations: 7.938 kB / 328.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003782/0.008112, allocations: 107.1 kB / 328.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.008224, allocations: 113.5 kB / 328.3 MB, free: 14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.008403, allocations: 151.4 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.00842, allocations: 25.7 kB / 328.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.008496, allocations: 89.61 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.00851, allocations: 5.547 kB / 328.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.00855, allocations: 22.69 kB / 328.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.008711, allocations: 315 kB / 328.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.594e-05/0.008777, allocations: 15.12 kB / 328.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.008839, allocations: 24.17 kB / 328.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.008958, allocations: 42.8 kB / 329 MB, free: 13.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.00896, allocations: 64 / 329 MB, free: 13.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001755/0.009135, allocations: 68.11 kB / 329 MB, free: 13.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.009155, allocations: 9.719 kB / 329 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.009161, allocations: 0.7031 kB / 329 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.009177, allocations: 1.469 kB / 329 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-05/0.009258, allocations: 8.391 kB / 329 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.009263, allocations: 3.938 kB / 329 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.009304, allocations: 5.906 kB / 329 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.009311, allocations: 5.406 kB / 329.1 MB, free: 13.33 MB / 302.1 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 0.0001257/0.009437, allocations: 118.7 kB / 329.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.009545, allocations: 51.89 kB / 329.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.009586, allocations: 21.17 kB / 329.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.009601, allocations: 2.891 kB / 329.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.009607, allocations: 1.734 kB / 329.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.009611, allocations: 1 kB / 329.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.009851, allocations: 124 kB / 329.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.009854, allocations: 0 / 329.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/0.009904, allocations: 9.266 kB / 329.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.009908, allocations: 5.531 kB / 329.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.009916, allocations: 0 / 329.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.009923, allocations: 13.59 kB / 329.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.009925, allocations: 1.219 kB / 329.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.01028, allocations: 257.8 kB / 329.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.01032, allocations: 17.61 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.01034, allocations: 1.094 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.01046, allocations: 13.53 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.0105, allocations: 7.484 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.01051, allocations: 2.188 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.01061, allocations: 111.4 kB / 329.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01061, allocations: 0 / 329.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.01088, allocations: 5.25 kB / 329.8 MB, free: 12.68 MB / 302.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: 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.0001355/0.01101, allocations: 110.1 kB / 329.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.01121, allocations: 41.33 kB / 330 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01122, allocations: 4.062 kB / 330 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.01129, allocations: 18.48 kB / 330 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.01172, allocations: 24.28 kB / 330 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.01213, allocations: 178.8 kB / 330.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.01224, allocations: 80.83 kB / 330.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.879e-05/0.01228, allocations: 10.59 kB / 330.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.01231, allocations: 14.94 kB / 330.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.01231, allocations: 1.188 kB / 330.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Templates: time 0.003741/0.01605, allocations: 0.6498 MB / 330.9 MB, free: 12.23 MB / 302.1 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.481475245207548]