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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002307/0.002307, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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.001818/0.001818, allocations: 47.86 kB / 370.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2902, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003031/0.2932, allocations: 1.612 MB / 424.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009112/0.2941, allocations: 478.8 kB / 425.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.458e-05/0.2942, allocations: 7.938 kB / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/0.2943, allocations: 7.922 kB / 425.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.2944, allocations: 7.875 kB / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.2947, allocations: 47.89 kB / 425.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.2948, allocations: 51.83 kB / 425.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2949, allocations: 12.19 kB / 425.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.295, allocations: 27.8 kB / 425.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.2951, allocations: 15.92 kB / 425.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.2951, allocations: 4 kB / 425.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.2951, allocations: 4 kB / 425.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.2952, allocations: 19.91 kB / 425.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.2952, allocations: 23.81 kB / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.2953, allocations: 60.94 kB / 425.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2953, allocations: 0 / 425.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2954, allocations: 4 kB / 425.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.2954, allocations: 0 / 425.5 MB, free: 12.3 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.0005328/0.2959, allocations: 302 kB / 425.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2959, allocations: 8.031 kB / 425.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.296, allocations: 8.891 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.2962, allocations: 150.2 kB / 426 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2962, allocations: 4.375 kB / 426 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2963, allocations: 4.375 kB / 426 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.2966, allocations: 122 kB / 426.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2966, allocations: 0 / 426.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2966, allocations: 0 / 426.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2966, allocations: 4 kB / 426.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.191e-05/0.2967, allocations: 27.92 kB / 426.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.297, allocations: 241.7 kB / 426.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.2972, allocations: 71.78 kB / 426.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.2972, allocations: 30.62 kB / 426.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.2973, allocations: 4 kB / 426.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2973, allocations: 38.5 kB / 426.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2973, allocations: 0 / 426.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002837/0.2976, allocations: 85.56 kB / 426.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.2977, allocations: 106.8 kB / 426.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.2978, allocations: 144.4 kB / 426.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.2978, allocations: 29.64 kB / 426.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.2979, allocations: 84.14 kB / 426.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.2979, allocations: 16.31 kB / 426.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.2979, allocations: 17.72 kB / 427 MB, free: 10.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2981, allocations: 318.8 kB / 427.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.2981, allocations: 15.92 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.055e-05/0.2982, allocations: 35.42 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.2983, allocations: 47.36 kB / 427.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2983, allocations: 0 / 427.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.2984, allocations: 69.58 kB / 427.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2984, allocations: 4 kB / 427.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2985, allocations: 8.109 kB / 427.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2985, allocations: 4 kB / 427.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.2986, allocations: 8 kB / 427.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2986, allocations: 0 / 427.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.2986, allocations: 11.88 kB / 427.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.2986, allocations: 0 / 427.5 MB, free: 10.06 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.0001051/0.2987, allocations: 133.6 kB / 427.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.2988, allocations: 49.64 kB / 427.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.2988, allocations: 16.03 kB / 427.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2988, allocations: 0 / 427.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2989, allocations: 4 kB / 427.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2989, allocations: 4 kB / 427.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.299, allocations: 144.7 kB / 427.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.299, allocations: 0 / 427.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.2991, allocations: 15.92 kB / 427.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2991, allocations: 0 / 427.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2991, allocations: 0 / 427.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.2991, allocations: 7.984 kB / 427.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2991, allocations: 0 / 427.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.2993, allocations: 185.2 kB / 428 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.2994, allocations: 15.94 kB / 428 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2994, allocations: 4 kB / 428 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.2995, allocations: 3.984 kB / 428 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.2995, allocations: 11.94 kB / 428.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.2995, allocations: 0 / 428.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.032e-05/0.2996, allocations: 111.2 kB / 428.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2996, allocations: 0 / 428.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.2998, allocations: 8 kB / 428.2 MB, free: 9.273 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.0001127/0.3, allocations: 95.25 kB / 428.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.3001, allocations: 28.11 kB / 428.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3001, allocations: 8.062 kB / 428.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.3002, allocations: 11.92 kB / 428.3 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3006, allocations: 31.2 kB / 428.3 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.301, allocations: 180.8 kB / 428.5 MB, free: 8.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3014, allocations: 0.7003 MB / 429.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.577e-05/0.3014, allocations: 4 kB / 429.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.3014, allocations: 7.438 kB / 429.2 MB, free: 8.148 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3014, allocations: 0 / 429.2 MB, free: 8.148 MB / 334.1 MB Notification: Performance of Templates: time 0.003467/0.3049, allocations: 0.6154 MB / 429.9 MB, free: 7.539 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.771029217168689]