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.001072/0.001072, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.00114/0.00114, allocations: 165.1 kB / 24.91 MB, free: 8.715 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 0.9569/0.9569, allocations: 177 MB / 205.2 MB, free: 5.012 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.442e-06/1.442e-06, allocations: 0 / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.424e-05, allocations: 6.25 kB / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002078/0.002093, allocations: 1.716 MB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.002987, allocations: 0.5529 MB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.548e-05/0.003063, allocations: 7.938 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.605e-05/0.003159, allocations: 11.86 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.003259, allocations: 11.86 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.003499, allocations: 67.8 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.003624, allocations: 67.7 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.003705, allocations: 15.88 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.003816, allocations: 43.89 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.00387, allocations: 19.91 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.003883, allocations: 4 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.003934, allocations: 12 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.003977, allocations: 19.92 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.004003, allocations: 15.92 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.004128, allocations: 63.69 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.00413, allocations: 4 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00413, allocations: 0 / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.004134, allocations: 0 / 276.1 MB, free: 14.36 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.0003317/0.004465, allocations: 296.4 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.004502, allocations: 15.98 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.004647, allocations: 24.91 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.004815, allocations: 149.5 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.004823, allocations: 384 / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.004832, allocations: 8.375 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.005005, allocations: 124.8 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.005011, allocations: 192 / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.00502, allocations: 4.375 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.005045, allocations: 11.94 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.005068, allocations: 10.77 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.005296, allocations: 258.9 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.487e-05/0.005361, allocations: 66.61 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.005384, allocations: 22.58 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.005394, allocations: 3.938 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.005417, allocations: 38.56 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.005418, allocations: 0 / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001417/0.005559, allocations: 57.55 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.005607, allocations: 106.8 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.005694, allocations: 151 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.005705, allocations: 29.7 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.005736, allocations: 88.12 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.005752, allocations: 3.953 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.005781, allocations: 17.7 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.005862, allocations: 318.8 kB / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.005872, allocations: 3.984 kB / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.623e-05/0.005888, allocations: 13.72 kB / 277.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.005917, allocations: 20.55 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005918, allocations: 4.062 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.96e-05/0.005968, allocations: 45.62 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.005979, allocations: 4 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.005984, allocations: 3.938 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.005995, allocations: 0 / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.712e-05/0.006042, allocations: 11.98 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.006044, allocations: 0 / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.006068, allocations: 3.938 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.006073, allocations: 4 kB / 277.9 MB, free: 12.24 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.973e-05/0.006133, allocations: 120.7 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.006187, allocations: 33.7 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.006209, allocations: 19.89 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.006217, allocations: 4 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.006219, allocations: 0 / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006222, allocations: 0 / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.006378, allocations: 85.83 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.00638, allocations: 0 / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.006405, allocations: 11.98 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.006406, allocations: 0 / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.006411, allocations: 0 / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.006414, allocations: 7.969 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.006416, allocations: 7.938 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.00652, allocations: 222.5 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.006548, allocations: 15.94 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.006558, allocations: 0 / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.006642, allocations: 8 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.006669, allocations: 7.922 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.006672, allocations: 0 / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.006707, allocations: 45.62 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006707, allocations: 4.031 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.006926, allocations: 11.94 kB / 278.5 MB, free: 11.59 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 6.821e-05/0.006995, allocations: 84.34 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.884e-05/0.007053, allocations: 12.86 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.007058, allocations: 4 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.87e-05/0.007077, allocations: 16.78 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.00761, allocations: 15.42 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.008046, allocations: 213.4 kB / 278.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.688e-05/0.008093, allocations: 63.33 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.828e-05/0.008121, allocations: 7.984 kB / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.008178, allocations: 55.38 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008178, allocations: 3.938 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of Templates: time 0.00253/0.01071, allocations: 0.7411 MB / 279.7 MB, free: 10.33 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 -s gbode -gbm=radauIIA3 -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.7894374416209757]