Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 197 kB / 22.76 MB, free: 5.477 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 47.92 kB / 369.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2881, allocations: 52.14 MB / 421.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003435/0.2915, allocations: 1.599 MB / 422.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.2924, allocations: 486.7 kB / 423.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.344e-05/0.2925, allocations: 0 / 423.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.623e-05/0.2926, allocations: 7.922 kB / 423.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.2928, allocations: 11.88 kB / 423.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.2931, allocations: 47.88 kB / 423.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.2932, allocations: 51.78 kB / 423.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2933, allocations: 8.188 kB / 423.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.787e-05/0.2934, allocations: 23.92 kB / 423.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.2934, allocations: 31.78 kB / 423.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.2935, allocations: 4 kB / 423.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.2935, allocations: 0 / 423.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.2935, allocations: 15.92 kB / 423.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.2936, allocations: 27.81 kB / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.2937, allocations: 56.94 kB / 423.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2937, allocations: 0 / 423.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2937, allocations: 0 / 423.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2937, allocations: 4 kB / 423.7 MB, free: 12.78 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.0005605/0.2943, allocations: 375.1 kB / 424 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2943, allocations: 8.031 kB / 424 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.2944, allocations: 8.891 kB / 424 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.2947, allocations: 208.1 kB / 424.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.2947, allocations: 384 / 424.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.2948, allocations: 12.31 kB / 424.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.2951, allocations: 118 kB / 424.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2951, allocations: 4 kB / 424.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.2951, allocations: 0 / 424.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2951, allocations: 0 / 424.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.2952, allocations: 19.98 kB / 424.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.2956, allocations: 278.5 kB / 424.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.2957, allocations: 67.78 kB / 424.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.2958, allocations: 34.62 kB / 424.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2958, allocations: 4 kB / 424.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.2958, allocations: 30.56 kB / 424.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2958, allocations: 0 / 424.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002967/0.2961, allocations: 97.75 kB / 424.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/0.2962, allocations: 102.8 kB / 425 MB, free: 11.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.2964, allocations: 141.8 kB / 425.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2964, allocations: 29.64 kB / 425.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.2965, allocations: 92.14 kB / 425.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.2965, allocations: 7.938 kB / 425.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.2965, allocations: 17.72 kB / 425.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2967, allocations: 318.8 kB / 425.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.537e-05/0.2967, allocations: 15.98 kB / 425.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.2968, allocations: 35.42 kB / 425.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.2969, allocations: 47.36 kB / 425.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2969, allocations: 0 / 425.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001641/0.2971, allocations: 69.52 kB / 425.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2971, allocations: 11.44 kB / 425.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2971, allocations: 0 / 425.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.2971, allocations: 7.984 kB / 425.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.2972, allocations: 12.12 kB / 425.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2972, allocations: 0 / 425.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.2973, allocations: 11.94 kB / 425.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.2973, allocations: 4 kB / 425.8 MB, free: 10.34 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.0001175/0.2974, allocations: 125.7 kB / 425.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.2975, allocations: 53.58 kB / 426 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.2975, allocations: 11.88 kB / 426 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2975, allocations: 4 kB / 426 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2975, allocations: 4.062 kB / 426 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2975, allocations: 0 / 426 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.2977, allocations: 173.6 kB / 426.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2977, allocations: 0 / 426.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.2978, allocations: 11.98 kB / 426.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2978, allocations: 0 / 426.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2978, allocations: 0 / 426.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.2978, allocations: 7.938 kB / 426.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.2978, allocations: 3.984 kB / 426.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.298, allocations: 181.2 kB / 426.4 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.2981, allocations: 93.05 kB / 426.5 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.2981, allocations: 7.984 kB / 426.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.2982, allocations: 3.938 kB / 426.5 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.2982, allocations: 4 kB / 426.5 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2982, allocations: 4 kB / 426.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.635e-05/0.2983, allocations: 121.8 kB / 426.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2983, allocations: 0 / 426.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.2985, allocations: 4 kB / 426.6 MB, free: 9.43 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.0001173/0.2986, allocations: 99.98 kB / 426.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.2988, allocations: 31.92 kB / 426.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.2988, allocations: 4 kB / 426.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.2989, allocations: 16.17 kB / 426.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.2992, allocations: 27.95 kB / 426.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.2997, allocations: 206.2 kB / 427 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3, allocations: 0.6922 MB / 427.7 MB, free: 8.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.3, allocations: 15.67 kB / 427.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3, allocations: 4 kB / 427.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of Templates: time 0.002845/0.3029, allocations: 0.8046 MB / 428.5 MB, free: 7.461 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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