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.0009159/0.0009159, allocations: 82.59 kB / 21.42 MB, free: 3.07 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.0009247/0.0009247, allocations: 167.7 kB / 24.82 MB, free: 9.312 MB / 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.052/1.052, allocations: 177 MB / 205.1 MB, free: 5.48 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 1.583e-06/1.583e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.233e-05, allocations: 3.719 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002085/0.002108, allocations: 1.67 MB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.002882, allocations: 0.5453 MB / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.663e-05/0.002968, allocations: 11.88 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.688e-05/0.003065, allocations: 3.938 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.003166, allocations: 11.86 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.003433, allocations: 63.73 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003536, allocations: 67.72 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.003626, allocations: 15.98 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.003742, allocations: 47.83 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.235e-05/0.003794, allocations: 27.91 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.003809, allocations: 3.938 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.13e-05/0.003851, allocations: 8 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.003896, allocations: 19.92 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.00392, allocations: 19.92 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.00403, allocations: 51.81 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004032, allocations: 0 / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004033, allocations: 3.938 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.004036, allocations: 0 / 275.9 MB, free: 14.64 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.000408/0.004444, allocations: 432.1 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.004479, allocations: 15.98 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.004604, allocations: 24.88 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.004755, allocations: 160.2 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.004763, allocations: 4.375 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.004771, allocations: 8.375 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.004946, allocations: 129.2 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.004952, allocations: 4.188 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.004958, allocations: 384 / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.004983, allocations: 3.938 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.005005, allocations: 15.92 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.005259, allocations: 387 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.005326, allocations: 89.22 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.005348, allocations: 27.06 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.005365, allocations: 8.062 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.005384, allocations: 37.33 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.005385, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001404/0.005525, allocations: 65.47 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.00557, allocations: 110.8 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.005657, allocations: 201.8 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.005667, allocations: 29.7 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.005717, allocations: 142.8 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.005735, allocations: 8.328 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.005766, allocations: 27.38 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.006001, allocations: 0.4884 MB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.006016, allocations: 0 / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.00604, allocations: 23.31 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.006077, allocations: 23.36 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.00608, allocations: 4 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.819e-05/0.006139, allocations: 49.59 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.006152, allocations: 16.06 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.006157, allocations: 0 / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.006168, allocations: 0 / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.006223, allocations: 7.984 kB / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.006226, allocations: 0 / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.006247, allocations: 4 kB / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.006252, allocations: 0 / 278.4 MB, free: 11.85 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.691e-05/0.006319, allocations: 164.5 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.00637, allocations: 41.59 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.006395, allocations: 19.89 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.006408, allocations: 12.02 kB / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.006409, allocations: 0 / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006412, allocations: 0 / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.00653, allocations: 113.2 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.006532, allocations: 0 / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.006555, allocations: 4 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.006558, allocations: 4 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.006563, allocations: 3.984 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006564, allocations: 0 / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.006567, allocations: 7.938 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.006703, allocations: 326.7 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.006731, allocations: 15.95 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.006741, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.477e-05/0.006796, allocations: 7.984 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.006822, allocations: 3.938 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.006827, allocations: 7.938 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.006876, allocations: 156 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006876, allocations: 0 / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.007041, allocations: 11.98 kB / 279.3 MB, free: 10.9 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 7.436e-05/0.007115, allocations: 99.22 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.147e-05/0.007187, allocations: 23.61 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007188, allocations: 0 / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.564e-05/0.007204, allocations: 11.69 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.007482, allocations: 20.58 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.007887, allocations: 213.8 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.102e-05/0.007928, allocations: 67.34 kB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.826e-05/0.007956, allocations: 3.984 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.008011, allocations: 74.2 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008012, allocations: 0 / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of Templates: time 0.002309/0.01032, allocations: 0.8055 MB / 280.6 MB, free: 9.531 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.716099006589502]