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.001694/0.001694, allocations: 81.55 kB / 21.25 MB, free: 0.5469 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.002026/0.002026, allocations: 164.9 kB / 24.5 MB, free: 3.848 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.478/1.478, allocations: 177.1 MB / 204.7 MB, free: 8.98 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 0.00189/0.00189, allocations: 65.94 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.105, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.00343/0.1085, allocations: 1.56 MB / 380.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004597/0.1089, allocations: 139.5 kB / 380.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.109, allocations: 0 / 380.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.1091, allocations: 11.86 kB / 380.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.075e-05/0.1092, allocations: 11.92 kB / 380.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.1094, allocations: 39.53 kB / 380.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1095, allocations: 51.78 kB / 380.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1097, allocations: 11.98 kB / 380.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.1097, allocations: 15.94 kB / 380.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.1097, allocations: 19.86 kB / 380.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.1098, allocations: 4 kB / 380.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.1098, allocations: 0 / 380.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.1098, allocations: 19.92 kB / 380.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.1099, allocations: 15.88 kB / 380.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.11, allocations: 63.61 kB / 380.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.11, allocations: 0 / 380.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.11, allocations: 0 / 380.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.11, allocations: 4 kB / 380.9 MB, free: 13.51 MB / 350.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.0004637/0.1105, allocations: 302 kB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1105, allocations: 11.98 kB / 381.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1105, allocations: 8.891 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1108, allocations: 150.2 kB / 381.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1108, allocations: 384 / 381.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.1108, allocations: 8.375 kB / 381.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.1111, allocations: 126.4 kB / 381.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1111, allocations: 192 / 381.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1111, allocations: 3.938 kB / 381.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.1111, allocations: 7.984 kB / 381.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1113, allocations: 35.91 kB / 381.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.1117, allocations: 313.5 kB / 381.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1119, allocations: 83.78 kB / 381.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.831e-05/0.112, allocations: 38.56 kB / 381.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.112, allocations: 3.984 kB / 381.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.733e-05/0.1121, allocations: 38.5 kB / 382 MB, free: 12.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1121, allocations: 0 / 382 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000351/0.1124, allocations: 109.8 kB / 382.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.1125, allocations: 110.8 kB / 382.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1126, allocations: 140.9 kB / 382.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1127, allocations: 25.7 kB / 382.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.1127, allocations: 96.12 kB / 382.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/0.1127, allocations: 3.953 kB / 382.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.1128, allocations: 17.72 kB / 382.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1129, allocations: 326.8 kB / 382.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.113, allocations: 11.98 kB / 382.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.1131, allocations: 39.42 kB / 382.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1132, allocations: 63.34 kB / 382.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1132, allocations: 0 / 382.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00018/0.1134, allocations: 89.48 kB / 383 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1134, allocations: 8.125 kB / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1134, allocations: 0 / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1134, allocations: 4 kB / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.1135, allocations: 12 kB / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.1135, allocations: 3.984 kB / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.1135, allocations: 7.938 kB / 383 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1136, allocations: 4 kB / 383 MB, free: 11.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001093/0.1137, allocations: 133.7 kB / 383.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.21e-05/0.1138, allocations: 53.59 kB / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.1138, allocations: 11.95 kB / 383.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.1138, allocations: 4 kB / 383.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1138, allocations: 0 / 383.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1138, allocations: 4 kB / 383.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.114, allocations: 121.3 kB / 383.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.114, allocations: 0 / 383.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.1141, allocations: 7.938 kB / 383.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1141, allocations: 4 kB / 383.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1141, allocations: 0 / 383.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1141, allocations: 0 / 383.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1141, allocations: 7.969 kB / 383.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.1144, allocations: 267.6 kB / 383.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.1144, allocations: 11.89 kB / 383.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1144, allocations: 4 kB / 383.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1145, allocations: 11.92 kB / 383.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.1146, allocations: 4 kB / 383.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/0.1146, allocations: 4 kB / 383.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.252e-05/0.1147, allocations: 107.2 kB / 383.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1147, allocations: 4 kB / 383.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.115, allocations: 7.984 kB / 383.8 MB, free: 10.27 MB / 350.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.0001152/0.1151, allocations: 103.2 kB / 383.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.1153, allocations: 52.03 kB / 383.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1153, allocations: 0 / 383.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.1154, allocations: 16.3 kB / 384 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.1158, allocations: 38.06 kB / 384 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.1162, allocations: 179.2 kB / 384.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.517e-05/0.1162, allocations: 79.27 kB / 384.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.694e-05/0.1163, allocations: 7.984 kB / 384.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.1163, allocations: 12.5 kB / 384.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1163, allocations: 0 / 384.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of Templates: time 0.003208/0.1195, allocations: 0.6678 MB / 384.9 MB, free: 9.086 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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.377525656018406]