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.001323/0.001323, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001357/0.001357, allocations: 156.5 kB / 24.55 MB, free: 20 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.9807/0.9807, allocations: 177 MB / 204.8 MB, free: 5.594 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.073e-06/2.073e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.201e-05, allocations: 2.312 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001999/0.002021, allocations: 1.688 MB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000836/0.002857, allocations: 0.5414 MB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.002939, allocations: 3.938 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.003053, allocations: 7.922 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.003161, allocations: 19.86 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.003442, allocations: 71.67 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.003556, allocations: 63.72 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.003658, allocations: 19.98 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.003779, allocations: 47.77 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.00383, allocations: 15.98 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.003848, allocations: 4 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.075e-05/0.003888, allocations: 8 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.003939, allocations: 23.84 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.003971, allocations: 19.92 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.004095, allocations: 55.83 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004097, allocations: 0 / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.004098, allocations: 3.984 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004102, allocations: 0 / 275.5 MB, free: 14.85 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.0004162/0.004518, allocations: 420.1 kB / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.004554, allocations: 11.98 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.004705, allocations: 24.88 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.004885, allocations: 164.2 kB / 276.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.004895, allocations: 12.31 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.004905, allocations: 4.375 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.005142, allocations: 133.3 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.00515, allocations: 4.172 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.005162, allocations: 4.359 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.005195, allocations: 7.938 kB / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.805e-05/0.005223, allocations: 7.938 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.005569, allocations: 422.3 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.005649, allocations: 85.19 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.005682, allocations: 27.19 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.005693, allocations: 0 / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.00572, allocations: 45.27 kB / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.005721, allocations: 0 / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001707/0.005892, allocations: 65.53 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.005944, allocations: 107.2 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.006046, allocations: 213.9 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.006058, allocations: 25.7 kB / 277.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.00611, allocations: 138.9 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.006126, allocations: 3.953 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.006158, allocations: 27.36 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.006276, allocations: 496.1 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.006292, allocations: 11.92 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.006316, allocations: 15.38 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.338e-05/0.006349, allocations: 27.44 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006352, allocations: 4 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.274e-05/0.006414, allocations: 53.52 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.006426, allocations: 4 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006431, allocations: 0 / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.006445, allocations: 0 / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.006507, allocations: 8 kB / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.006512, allocations: 0 / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.006533, allocations: 3.984 kB / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.006541, allocations: 4 kB / 278 MB, free: 12.02 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.888e-05/0.00661, allocations: 160.6 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.006662, allocations: 49.53 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.006689, allocations: 15.95 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.006701, allocations: 3.938 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.006707, allocations: 4 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.00671, allocations: 0 / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.006846, allocations: 136.6 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.006849, allocations: 0 / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.006873, allocations: 15.98 kB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.006876, allocations: 0 / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.006885, allocations: 11.95 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006886, allocations: 0 / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006887, allocations: 4 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.007036, allocations: 330.7 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.007066, allocations: 15.94 kB / 278.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.007077, allocations: 7.938 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.072e-05/0.007128, allocations: 0 / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.007162, allocations: 7.984 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.007165, allocations: 0 / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.17e-05/0.007227, allocations: 160 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007227, allocations: 4 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.007387, allocations: 8 kB / 278.9 MB, free: 11.04 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.139e-05/0.007469, allocations: 99.19 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.007579, allocations: 27.61 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.007581, allocations: 0 / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.007603, allocations: 11.69 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.0079, allocations: 18.3 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.008384, allocations: 217.5 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.446e-05/0.008438, allocations: 63.34 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.261e-05/0.008481, allocations: 12.02 kB / 279.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.008516, allocations: 12.5 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.008517, allocations: 0 / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of Templates: time 0.002368/0.01089, allocations: 0.7733 MB / 280.2 MB, free: 9.75 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.6904151807539165]