Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.0009799/0.0009799, 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.0009325/0.0009325, 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.9472/0.9472, 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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.813e-05, allocations: 5.266 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002419/0.002447, allocations: 1.677 MB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007884/0.003235, allocations: 0.5453 MB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.888e-05/0.003324, allocations: 3.938 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.003446, allocations: 7.875 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.003572, allocations: 27.78 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.003863, allocations: 59.81 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.003996, allocations: 67.72 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.004139, allocations: 23.91 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.004296, allocations: 39.84 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.00437, allocations: 23.91 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.004396, allocations: 4 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.774e-05/0.004454, allocations: 8 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.004519, allocations: 15.92 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.004563, allocations: 19.92 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.004743, allocations: 59.8 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004746, allocations: 4 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004747, allocations: 0 / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.004753, allocations: 0 / 275.5 MB, free: 14.83 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.0005214/0.005274, allocations: 428 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.005328, allocations: 11.98 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.005511, allocations: 28.86 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.005746, allocations: 164.3 kB / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.005757, allocations: 4.375 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.005772, allocations: 8.375 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.00604, allocations: 133.2 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.00605, allocations: 192 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.006062, allocations: 384 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.006097, allocations: 7.938 kB / 276.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.006124, allocations: 7.938 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.006463, allocations: 418.3 kB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.037e-05/0.006543, allocations: 89.19 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.006584, allocations: 27.19 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.006601, allocations: 3.938 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.006629, allocations: 45.31 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.006631, allocations: 0 / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001887/0.00682, allocations: 65.53 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.006878, allocations: 110.8 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.006986, allocations: 206.3 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.006996, allocations: 29.7 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.007052, allocations: 138.9 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.007071, allocations: 15.92 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.007102, allocations: 19.38 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.007232, allocations: 0.4923 MB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.007246, allocations: 3.938 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.007267, allocations: 19.38 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.007302, allocations: 23.38 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.007304, allocations: 64 / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.205e-05/0.007366, allocations: 57.52 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.007379, allocations: 4 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007385, allocations: 0 / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.007401, allocations: 0 / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.709e-05/0.007468, allocations: 11.98 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.007474, allocations: 0 / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.007498, allocations: 0 / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.007507, allocations: 4 kB / 278 MB, free: 12 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: 0 () * 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 6.533e-05/0.007573, allocations: 160.5 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.007629, allocations: 53.64 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.007656, allocations: 11.97 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.007666, allocations: 0 / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.007671, allocations: 4 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.007674, allocations: 0 / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.007798, allocations: 136.6 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.0078, allocations: 0 / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.007823, allocations: 11.98 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007824, allocations: 0 / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.007834, allocations: 7.938 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.007836, allocations: 8.031 kB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.007838, allocations: 3.938 kB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.00798, allocations: 326.8 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.008008, allocations: 19.94 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.00802, allocations: 3.938 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.008074, allocations: 7.984 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.008113, allocations: 4.031 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.008117, allocations: 4 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.918e-05/0.008176, allocations: 156 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008176, allocations: 0 / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.008337, allocations: 12 kB / 279 MB, free: 11.01 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: 0 () * 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 8.361e-05/0.008421, allocations: 107.1 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.853e-05/0.008519, allocations: 19.67 kB / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008521, allocations: 3.938 kB / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-05/0.00854, allocations: 15.62 kB / 279.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.008841, allocations: 16.58 kB / 279.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.009355, allocations: 217.9 kB / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.702e-05/0.009402, allocations: 63.34 kB / 279.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.298e-05/0.009445, allocations: 7.984 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.00948, allocations: 12.5 kB / 279.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00948, allocations: 0 / 279.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of Templates: time 0.002637/0.01212, allocations: 0.737 MB / 280.1 MB, free: 9.762 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.9045232189819217]