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.001207/0.001207, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001163/0.001163, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9604/0.9604, allocations: 177 MB / 204.8 MB, free: 5.578 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.[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.663e-06/1.663e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.391e-05/4.558e-05, allocations: 9.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003166/0.003212, allocations: 1.584 MB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004579/0.00367, allocations: 159.3 kB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.003746, allocations: 4 kB / 274.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.322e-05/0.003839, allocations: 7.938 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.233e-05/0.003931, allocations: 3.938 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.004132, allocations: 43.77 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.004234, allocations: 39.86 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.004324, allocations: 15.97 kB / 274.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.004368, allocations: 15.98 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.004409, allocations: 19.92 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.004429, allocations: 0 / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.004438, allocations: 4 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.004488, allocations: 23.91 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.004516, allocations: 11.94 kB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.004617, allocations: 47.77 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004619, allocations: 0 / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.004619, allocations: 0 / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.004623, allocations: 0 / 274.9 MB, free: 15.46 MB / 266.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.0003885/0.005012, allocations: 404.2 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.005048, allocations: 15.98 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.005083, allocations: 8.891 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.005255, allocations: 149.1 kB / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.005263, allocations: 4.359 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.005277, allocations: 16.31 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.005525, allocations: 129.2 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.005531, allocations: 192 / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.005538, allocations: 384 / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.005569, allocations: 8.359 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.005596, allocations: 7.938 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.005958, allocations: 414.3 kB / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.196e-05/0.00605, allocations: 89.19 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.006094, allocations: 27.19 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.006104, allocations: 4 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.006134, allocations: 37.39 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.006135, allocations: 0 / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000172/0.006307, allocations: 69.45 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.006422, allocations: 102.8 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.006543, allocations: 201.7 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.006552, allocations: 29.7 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.006602, allocations: 134.9 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.006614, allocations: 7.953 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.006648, allocations: 23.36 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.006779, allocations: 0.4884 MB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.00679, allocations: 0 / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/0.00681, allocations: 19.38 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.006841, allocations: 27.31 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.006842, allocations: 0 / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.175e-05/0.006904, allocations: 49.64 kB / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.006917, allocations: 11.94 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.00692, allocations: 0 / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.00693, allocations: 0 / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.917e-05/0.006979, allocations: 4 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.006983, allocations: 3.938 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.007009, allocations: 7.984 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.007014, allocations: 0 / 277.3 MB, free: 12.71 MB / 266.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 7.632e-05/0.00709, allocations: 160.6 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.007154, allocations: 45.64 kB / 277.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.00718, allocations: 19.89 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.007194, allocations: 7.938 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.007198, allocations: 0 / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007201, allocations: 0 / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.007385, allocations: 128.6 kB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.00739, allocations: 3.984 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.007413, allocations: 8 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.007415, allocations: 0 / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.007422, allocations: 4 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.007424, allocations: 7.969 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.007425, allocations: 4 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.007584, allocations: 330.7 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.007616, allocations: 15.94 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.007627, allocations: 0 / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.007715, allocations: 7.938 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.007748, allocations: 12.02 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.007752, allocations: 0 / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.17e-05/0.007813, allocations: 143.2 kB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007813, allocations: 0 / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002018/0.008015, allocations: 12 kB / 278.2 MB, free: 11.75 MB / 266.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.332e-05/0.008078, allocations: 99.19 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.342e-05/0.008142, allocations: 23.61 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.008143, allocations: 0 / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.406e-05/0.008157, allocations: 15.69 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.008408, allocations: 20.58 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.00864, allocations: 188.9 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.899e-05/0.008679, allocations: 63.34 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.781e-05/0.008697, allocations: 4 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.00872, allocations: 8.5 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008721, allocations: 0 / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Templates: time 0.001995/0.01072, allocations: 0.7048 MB / 279.3 MB, free: 10.57 MB / 266.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 -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.849473209120333]