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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001557/0.001557, allocations: 211.8 kB / 23.73 MB, free: 4.164 MB / 14.72 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.501/1.501, allocations: 230.5 MB / 257.4 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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.002128/0.002128, allocations: 59.91 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2941, allocations: 53.41 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003824/0.2979, allocations: 1.582 MB / 433.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2992, allocations: 0.5103 MB / 433.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.2993, allocations: 4 kB / 433.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.423e-05/0.2993, allocations: 7.875 kB / 433.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.2996, allocations: 15.92 kB / 433.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.3, allocations: 59.81 kB / 433.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.3001, allocations: 47.84 kB / 433.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3002, allocations: 12.17 kB / 433.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.3004, allocations: 35.8 kB / 433.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.056e-05/0.3005, allocations: 23.84 kB / 433.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.3005, allocations: 4 kB / 433.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.564e-05/0.3006, allocations: 8 kB / 434 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.3006, allocations: 8 kB / 434 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.3007, allocations: 27.8 kB / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.3009, allocations: 65.92 kB / 434 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3009, allocations: 0 / 434 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3009, allocations: 0 / 434 MB, free: 4.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.3009, allocations: 0 / 434 MB, free: 4.098 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.0006478/0.3016, allocations: 302 kB / 434.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3016, allocations: 11.98 kB / 434.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.3018, allocations: 20.88 kB / 434.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.3022, allocations: 154.2 kB / 434.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3022, allocations: 8.375 kB / 434.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3023, allocations: 7.938 kB / 434.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.3026, allocations: 117.9 kB / 434.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3026, allocations: 0 / 434.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3026, allocations: 3.984 kB / 434.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3026, allocations: 0 / 434.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-05/0.3027, allocations: 27.86 kB / 434.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.3031, allocations: 226.2 kB / 434.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.3032, allocations: 67.78 kB / 435 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/0.3033, allocations: 30.62 kB / 435 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.3033, allocations: 4 kB / 435 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3034, allocations: 34.5 kB / 435 MB, free: 2.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3034, allocations: 0 / 435 MB, free: 2.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003111/0.3037, allocations: 89.88 kB / 435.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/0.3038, allocations: 106.8 kB / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3039, allocations: 145.8 kB / 435.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.304, allocations: 25.7 kB / 435.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.304, allocations: 92.12 kB / 435.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.3041, allocations: 7.938 kB / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.3041, allocations: 21.67 kB / 435.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3043, allocations: 322.8 kB / 435.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.3043, allocations: 11.94 kB / 435.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.3044, allocations: 39.48 kB / 435.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.994e-05/0.3045, allocations: 43.36 kB / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3045, allocations: 0 / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001466/0.3046, allocations: 65.61 kB / 436 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3047, allocations: 8.125 kB / 436 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3047, allocations: 4 kB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.3047, allocations: 0 / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.3048, allocations: 8 kB / 436 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.3048, allocations: 4 kB / 436 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.3048, allocations: 7.984 kB / 436 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3049, allocations: 7.938 kB / 436 MB, free: 1.863 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.0001195/0.305, allocations: 117.8 kB / 436.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3051, allocations: 57.59 kB / 436.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.3051, allocations: 12.03 kB / 436.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3051, allocations: 4 kB / 436.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3051, allocations: 0 / 436.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3051, allocations: 0 / 436.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3053, allocations: 121.2 kB / 436.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3053, allocations: 3.938 kB / 436.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.3054, allocations: 8 kB / 436.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3054, allocations: 3.938 kB / 436.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3054, allocations: 11.98 kB / 436.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3054, allocations: 4 kB / 436.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3054, allocations: 3.984 kB / 436.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.3056, allocations: 181.1 kB / 436.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.3057, allocations: 19.88 kB / 436.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3057, allocations: 7.938 kB / 436.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.3057, allocations: 0 / 436.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3058, allocations: 4 kB / 436.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.3058, allocations: 0 / 436.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.3059, allocations: 122.6 kB / 436.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3059, allocations: 0 / 436.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.3061, allocations: 4 kB / 436.7 MB, free: 1.121 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.0001141/0.3062, allocations: 99.25 kB / 436.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.3064, allocations: 31.91 kB / 436.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3064, allocations: 4 kB / 436.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.3064, allocations: 8 kB / 436.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.3068, allocations: 23.95 kB / 436.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.3073, allocations: 189 kB / 437.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.3074, allocations: 90 kB / 437.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.3074, allocations: 8.125 kB / 437.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.3074, allocations: 7.438 kB / 437.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3074, allocations: 4 kB / 437.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of Templates: time 0.003691/0.3111, allocations: 0.6558 MB / 437.8 MB, free: 15.96 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.622665846720338]