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.0009841/0.0009841, 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.0009345/0.0009345, 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 1.005/1.005, allocations: 177 MB / 204.8 MB, free: 5.57 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.763e-06/1.763e-06, allocations: 3.938 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.861e-05, allocations: 5.266 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002193/0.002222, allocations: 1.587 MB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003459/0.002568, allocations: 155.4 kB / 274.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.319e-05/0.002641, allocations: 0 / 274.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.002743, allocations: 11.92 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.442e-05/0.002838, allocations: 11.92 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.00305, allocations: 43.77 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.803e-05/0.003148, allocations: 39.86 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003254, allocations: 7.984 kB / 274.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.003298, allocations: 27.92 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.361e-05/0.003342, allocations: 19.91 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.003363, allocations: 0 / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.003373, allocations: 4 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.003426, allocations: 15.94 kB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.003458, allocations: 15.92 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.003568, allocations: 39.83 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003571, allocations: 0 / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003572, allocations: 0 / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.003577, 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.0003945/0.003971, allocations: 408.2 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.004013, allocations: 15.98 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.004057, allocations: 12.89 kB / 275.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.004241, allocations: 149 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.004251, allocations: 4.375 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.004263, allocations: 384 / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.004512, allocations: 133.3 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.004521, allocations: 192 / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.004531, allocations: 4.375 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.004565, allocations: 4.375 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.004591, allocations: 15.92 kB / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.004919, allocations: 410.3 kB / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.985e-05/0.004999, allocations: 89.23 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.00503, allocations: 27.12 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/0.005037, allocations: 0 / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.005059, allocations: 37.39 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.005061, allocations: 7.938 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001755/0.005236, allocations: 61.52 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.005286, allocations: 110.8 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.005389, allocations: 205.2 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.005399, allocations: 25.7 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.005452, allocations: 130.9 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.005464, allocations: 7.953 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.005494, allocations: 23.38 kB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.005618, allocations: 0.4884 MB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.005632, allocations: 4.375 kB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.005653, allocations: 23.31 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.983e-05/0.005682, allocations: 23.38 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.005685, allocations: 0 / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.41e-05/0.005749, allocations: 49.58 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.005766, allocations: 11.94 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.005772, allocations: 0 / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.005788, allocations: 0 / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/0.005871, allocations: 8.125 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.005876, allocations: 3.938 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.005895, allocations: 4 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.0059, allocations: 0 / 277.3 MB, free: 12.7 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.633e-05/0.005977, allocations: 160.6 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.006034, allocations: 45.59 kB / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.00606, allocations: 11.91 kB / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.006076, allocations: 7.984 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.00608, allocations: 0 / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006082, allocations: 0 / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.00621, allocations: 132.7 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.006213, allocations: 0 / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.006235, allocations: 11.98 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.006238, allocations: 4 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.006245, allocations: 4 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.006248, allocations: 3.938 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.00625, allocations: 4 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.006386, allocations: 326.7 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.006414, allocations: 11.95 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.006425, allocations: 3.984 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.087e-05/0.006476, allocations: 11.94 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.006515, allocations: 4 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.00652, allocations: 4 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.601e-05/0.006576, allocations: 143.2 kB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006576, allocations: 0 / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.006747, allocations: 8 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 9.833e-05/0.006845, allocations: 99.19 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.96e-05/0.006925, allocations: 31.67 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006926, allocations: 0 / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.611e-05/0.006942, allocations: 11.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.000308/0.00725, allocations: 31.98 kB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.007551, allocations: 188.6 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.007594, allocations: 59.34 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.153e-05/0.007616, allocations: 7.984 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.007643, allocations: 12.78 kB / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.007643, allocations: 4 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Templates: time 0.002664/0.01031, allocations: 0.6601 MB / 279.3 MB, free: 10.59 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.9241476743482053]