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.000851/0.000851, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001118/0.001969, allocations: 449.7 kB / 10.37 MB, free: 324 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.000726/0.000726, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008938/0.00162, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.013/1.013, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09775/1.111, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.974e-06/1.974e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.548e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003126/0.003152, allocations: 1.641 MB / 246.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003487/0.0035, allocations: 160.1 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.003583, allocations: 7.938 kB / 246.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.106e-05/0.003645, allocations: 3.938 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.42e-05/0.003709, allocations: 11.92 kB / 246.8 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.003918, allocations: 39.84 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.004036, allocations: 35.86 kB / 246.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.004142, allocations: 15.97 kB / 246.9 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.004214, allocations: 35.91 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.004265, allocations: 4 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.004293, allocations: 7.938 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.004307, allocations: 4 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.00436, allocations: 19.92 kB / 247 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.004392, allocations: 12 kB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.004505, allocations: 43.66 kB / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.741e-05/0.004522, allocations: 0 / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004523, allocations: 0 / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.004541, allocations: 0 / 247 MB, free: 11.62 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.0004392/0.00498, allocations: 292.3 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.005022, allocations: 12.61 kB / 247.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.005056, allocations: 4.938 kB / 247.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.005256, allocations: 136.9 kB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.005267, allocations: 8.375 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.005277, allocations: 4.375 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.00549, allocations: 120.8 kB / 247.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.005498, allocations: 192 / 247.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.005505, allocations: 384 / 247.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.005539, allocations: 8.312 kB / 247.6 MB, free: 10.97 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.005567, allocations: 14.75 kB / 247.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.005853, allocations: 266.9 kB / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.005931, allocations: 62.62 kB / 247.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.005956, allocations: 18.64 kB / 248 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.005962, allocations: 0 / 248 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.00599, allocations: 34.56 kB / 248 MB, free: 10.51 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.005991, allocations: 0 / 248 MB, free: 10.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001579/0.006149, allocations: 65.48 kB / 248.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.006208, allocations: 103.2 kB / 248.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.508e-05/0.006303, allocations: 146.6 kB / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.006314, allocations: 25.7 kB / 248.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.00635, allocations: 84.12 kB / 248.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.00636, allocations: 4 kB / 248.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.006399, allocations: 25.66 kB / 248.4 MB, free: 10 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.006487, allocations: 314.8 kB / 248.8 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.006497, allocations: 4 kB / 248.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.006514, allocations: 9.719 kB / 248.8 MB, free: 9.668 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.006549, allocations: 32.53 kB / 248.8 MB, free: 9.629 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006551, allocations: 0 / 248.8 MB, free: 9.629 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.432e-05/0.006616, allocations: 37.69 kB / 248.8 MB, free: 9.586 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.006629, allocations: 4 kB / 248.8 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006635, allocations: 3.938 kB / 248.8 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.006647, allocations: 11.94 kB / 248.9 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/0.006715, allocations: 4 kB / 248.9 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.006718, allocations: 0 / 248.9 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.00674, allocations: 4 kB / 248.9 MB, free: 9.559 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.006744, allocations: 0 / 248.9 MB, free: 9.559 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.475e-05/0.006829, allocations: 128.7 kB / 249 MB, free: 9.422 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.006899, allocations: 33.7 kB / 249 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.006926, allocations: 11.95 kB / 249 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.006943, allocations: 7.938 kB / 249 MB, free: 9.363 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.006945, allocations: 0 / 249 MB, free: 9.363 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.00695, allocations: 4 kB / 249 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.007106, allocations: 81.8 kB / 249.1 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.007109, allocations: 0 / 249.1 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.007142, allocations: 7.938 kB / 249.1 MB, free: 9.254 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.007173, allocations: 19.97 kB / 249.1 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007176, allocations: 0 / 249.1 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.007183, allocations: 4 kB / 249.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.007188, allocations: 3.984 kB / 249.2 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.007191, allocations: 3.938 kB / 249.2 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.007314, allocations: 218.5 kB / 249.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.007325, allocations: 0 / 249.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.007411, allocations: 4 kB / 249.4 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.007443, allocations: 15.86 kB / 249.4 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.007448, allocations: 0 / 249.4 MB, free: 8.969 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.007486, allocations: 32.12 kB / 249.4 MB, free: 8.938 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007486, allocations: 0 / 249.4 MB, free: 8.938 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002163/0.007702, allocations: 8 kB / 249.4 MB, free: 8.93 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 9.781e-05/0.0078, allocations: 80.42 kB / 249.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.904e-05/0.007869, allocations: 16.84 kB / 249.5 MB, free: 8.82 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.007873, allocations: 3.938 kB / 249.5 MB, free: 8.816 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.007889, allocations: 8.859 kB / 249.5 MB, free: 8.805 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.008198, allocations: 31.66 kB / 249.6 MB, free: 8.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.008673, allocations: 184 kB / 249.8 MB, free: 8.559 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.731e-05/0.00872, allocations: 59.34 kB / 249.8 MB, free: 8.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.176e-05/0.008742, allocations: 7.938 kB / 249.8 MB, free: 8.473 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.008806, allocations: 59.36 kB / 249.9 MB, free: 8.414 MB / 250.7 MB Notification: Performance of SimCode: time 8.32e-07/0.008807, allocations: 0 / 249.9 MB, free: 8.414 MB / 250.7 MB Notification: Performance of Templates: time 0.002787/0.01159, allocations: 0.6896 MB / 250.6 MB, free: 7.746 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5352544942870736]