Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001954/0.001954, allocations: 211.2 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.2 MB / 256.7 MB, free: 8.652 MB / 206.1 MB [Timeout remaining time 88] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.88 kB / 376.9 MB, free: 3.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2955, allocations: 53.31 MB / 430.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003113/0.2986, allocations: 1.593 MB / 431.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2996, allocations: 0.5414 MB / 432.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-05/0.2997, allocations: 3.938 kB / 432.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.844e-05/0.2998, allocations: 3.938 kB / 432.3 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.2999, allocations: 15.88 kB / 432.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.3002, allocations: 67.73 kB / 432.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.3004, allocations: 43.91 kB / 432.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3005, allocations: 12.17 kB / 432.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.3006, allocations: 35.86 kB / 432.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.3007, allocations: 19.86 kB / 432.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3007, allocations: 4 kB / 432.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.087e-05/0.3007, allocations: 4 kB / 432.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.3008, allocations: 19.91 kB / 432.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.3008, allocations: 27.81 kB / 432.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.301, allocations: 65.22 kB / 432.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.301, allocations: 0 / 432.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.301, allocations: 0 / 432.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.301, allocations: 0 / 432.7 MB, free: 5.195 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005664/0.3016, allocations: 394.9 kB / 433 MB, free: 4.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3016, allocations: 8.031 kB / 433 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.3017, allocations: 16.89 kB / 433.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.302, allocations: 204.4 kB / 433.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.302, allocations: 8.375 kB / 433.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.3021, allocations: 3.938 kB / 433.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.3023, allocations: 113.9 kB / 433.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3023, allocations: 4 kB / 433.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3024, allocations: 0 / 433.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3024, allocations: 4 kB / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.563e-05/0.3025, allocations: 23.92 kB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.3028, allocations: 274.5 kB / 433.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.303, allocations: 75.78 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.303, allocations: 30.62 kB / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3031, allocations: 3.938 kB / 433.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.3031, allocations: 42.56 kB / 433.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3031, allocations: 0 / 433.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002906/0.3034, allocations: 85.55 kB / 433.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/0.3035, allocations: 106.8 kB / 434 MB, free: 3.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3036, allocations: 154 kB / 434.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.3036, allocations: 29.7 kB / 434.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.654e-05/0.3037, allocations: 92.12 kB / 434.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.3037, allocations: 4 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3038, allocations: 17.67 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3039, allocations: 322.8 kB / 434.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.304, allocations: 7.938 kB / 434.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.304, allocations: 39.42 kB / 434.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.458e-05/0.3041, allocations: 43.36 kB / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3041, allocations: 0 / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001391/0.3043, allocations: 73.61 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3043, allocations: 8 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3043, allocations: 0 / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3043, allocations: 0 / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.784e-05/0.3044, allocations: 15.94 kB / 434.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3044, allocations: 7.984 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.3044, allocations: 7.891 kB / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3044, allocations: 4 kB / 434.8 MB, free: 2.715 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 0.0001044/0.3045, allocations: 118 kB / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.3046, allocations: 57.58 kB / 435 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.3047, allocations: 7.875 kB / 435 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3047, allocations: 4 kB / 435 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3047, allocations: 0 / 435 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3047, allocations: 7.922 kB / 435 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.3049, allocations: 169.7 kB / 435.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3049, allocations: 0 / 435.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.3049, allocations: 11.98 kB / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3049, allocations: 64 / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.305, allocations: 8 kB / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.305, allocations: 0 / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.305, allocations: 0 / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.3052, allocations: 181.1 kB / 435.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.3053, allocations: 97.19 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3053, allocations: 7.984 kB / 435.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.3053, allocations: 4 kB / 435.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.3054, allocations: 3.938 kB / 435.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.3054, allocations: 3.984 kB / 435.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.897e-05/0.3055, allocations: 110.8 kB / 435.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3055, allocations: 0 / 435.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.3057, allocations: 12 kB / 435.6 MB, free: 1.816 MB / 334.1 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001396/0.3059, allocations: 103.2 kB / 435.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.306, allocations: 31.92 kB / 435.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.306, allocations: 7.875 kB / 435.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.3061, allocations: 11.98 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3064, allocations: 23.97 kB / 435.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.3069, allocations: 214.5 kB / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.3073, allocations: 0.6924 MB / 436.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.3073, allocations: 11.44 kB / 436.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3073, allocations: 0 / 436.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of Templates: time 0.002779/0.3101, allocations: 0.8503 MB / 437.6 MB, free: 15.81 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches