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.000991/0.000991, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009498/0.0009498, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.04/1.04, allocations: 177 MB / 205.2 MB, free: 5.566 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.964e-06/1.964e-06, allocations: 0 / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.072e-05, allocations: 6.312 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002827/0.002858, allocations: 1.66 MB / 274.7 MB, free: 48 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008152/0.003673, allocations: 0.5453 MB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.324e-05/0.003756, allocations: 7.938 kB / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.003884, allocations: 11.86 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.931e-05/0.003984, allocations: 15.81 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.004274, allocations: 71.72 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.004386, allocations: 63.72 kB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.004492, allocations: 15.98 kB / 275.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.004617, allocations: 51.83 kB / 275.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.00467, allocations: 19.92 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.004689, allocations: 4 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.073e-05/0.00473, allocations: 7.984 kB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.004779, allocations: 19.92 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.004812, allocations: 11.94 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.004946, allocations: 55.81 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004948, allocations: 3.938 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.004949, allocations: 0 / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.004953, allocations: 4 kB / 275.6 MB, free: 15.14 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.0003933/0.005346, allocations: 432 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.005382, allocations: 15.98 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.005526, allocations: 24.88 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.005694, allocations: 156.3 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.005702, allocations: 384 / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.005715, allocations: 12.36 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.005934, allocations: 133.3 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.00594, allocations: 192 / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.00595, allocations: 4.375 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.005978, allocations: 7.938 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.006008, allocations: 15.92 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.006323, allocations: 418.3 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.261e-05/0.006396, allocations: 85.3 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.006426, allocations: 31.06 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.006438, allocations: 4 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.006461, allocations: 41.33 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.006462, allocations: 0 / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001905/0.006652, allocations: 65.53 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.006706, allocations: 106.8 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.006817, allocations: 205.9 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.006827, allocations: 29.69 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.006883, allocations: 138.9 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.006901, allocations: 8.328 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.006932, allocations: 31.3 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.007046, allocations: 0.4884 MB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.007061, allocations: 0 / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.00708, allocations: 19.38 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.65e-05/0.007117, allocations: 27.3 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007119, allocations: 0 / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.052e-05/0.007179, allocations: 49.59 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.007194, allocations: 15.11 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.007198, allocations: 4.125 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.00721, allocations: 0 / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.007266, allocations: 7.938 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.007271, allocations: 0 / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.007291, allocations: 4 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.007298, allocations: 3.984 kB / 278.1 MB, free: 12.3 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 5.822e-05/0.007356, allocations: 156.6 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.007402, allocations: 49.58 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.007425, allocations: 15.95 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.007435, allocations: 8.031 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.007438, allocations: 0 / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.007442, allocations: 0 / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.007565, allocations: 140.6 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.007568, allocations: 0 / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.007588, allocations: 7.938 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.00759, allocations: 0 / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.007597, allocations: 7.938 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007598, allocations: 3.984 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007599, allocations: 0 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.007737, allocations: 330.8 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.007765, allocations: 23.94 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.007778, allocations: 3.938 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.257e-05/0.007831, allocations: 4 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.007865, allocations: 7.984 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.007868, allocations: 3.938 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.007924, allocations: 156 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007924, allocations: 0 / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.008085, allocations: 8 kB / 279 MB, free: 11.32 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.44e-05/0.008159, allocations: 103.1 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.263e-05/0.008242, allocations: 23.69 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008243, allocations: 0 / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.008262, allocations: 19.61 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.008559, allocations: 28.55 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.009031, allocations: 209.5 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.468e-05/0.009076, allocations: 67.67 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.01e-05/0.009106, allocations: 8 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.009134, allocations: 16.48 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009134, allocations: 0 / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Templates: time 0.002422/0.01156, allocations: 0.7254 MB / 280.2 MB, free: 10.07 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.9240055978298187]