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.00169/0.00169, allocations: 79.08 kB / 20.68 MB, free: 1.039 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.002004/0.002004, allocations: 147.3 kB / 23.94 MB, free: 4.184 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.492/1.492, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.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 1.823e-06/1.823e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.413e-05, allocations: 6.75 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002438/0.002462, allocations: 1.566 MB / 320.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.003235, allocations: 460.2 kB / 321 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.003337, allocations: 6.312 kB / 321 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.243e-05/0.003389, allocations: 5.578 kB / 321 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.003533, allocations: 8.203 kB / 321 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.003806, allocations: 62.22 kB / 321 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.003944, allocations: 43.08 kB / 321.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.004044, allocations: 15.5 kB / 321.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.749e-05/0.004142, allocations: 34.38 kB / 321.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.004194, allocations: 11.86 kB / 321.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.004213, allocations: 2.844 kB / 321.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.004227, allocations: 3.688 kB / 321.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.004277, allocations: 16.45 kB / 321.2 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.004303, allocations: 9.875 kB / 321.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.004426, allocations: 58.28 kB / 321.2 MB, free: 2.062 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.00443, allocations: 0 / 321.2 MB, free: 2.062 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004432, allocations: 8.844 kB / 321.2 MB, free: 2.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.004437, allocations: 3.938 kB / 321.2 MB, free: 2.051 MB / 286.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.0004425/0.00488, allocations: 302.1 kB / 321.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.004918, allocations: 9.922 kB / 321.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.004956, allocations: 10.03 kB / 321.5 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.005188, allocations: 142.1 kB / 321.7 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.005203, allocations: 1.781 kB / 321.7 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.005222, allocations: 7.125 kB / 321.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.005496, allocations: 118.2 kB / 321.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.005507, allocations: 192 / 321.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.005516, allocations: 5.406 kB / 321.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.005521, allocations: 1.344 kB / 321.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.005606, allocations: 24.89 kB / 321.8 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.005848, allocations: 212.8 kB / 322.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.005954, allocations: 71.98 kB / 322.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.225e-05/0.006016, allocations: 38.48 kB / 322.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.006042, allocations: 5.438 kB / 322.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.006064, allocations: 41.73 kB / 322.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.006065, allocations: 0 / 322.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002899/0.006355, allocations: 81.08 kB / 322.3 MB, free: 1.062 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.006403, allocations: 110.8 kB / 322.4 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.006525, allocations: 149.7 kB / 322.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.006535, allocations: 25.7 kB / 322.6 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.006572, allocations: 89.23 kB / 322.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.006588, allocations: 9.297 kB / 322.7 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.006621, allocations: 17.77 kB / 322.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.006681, allocations: 314.3 kB / 323 MB, free: 368 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.006722, allocations: 4.844 kB / 323 MB, free: 368 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.221e-05/0.006754, allocations: 12.16 kB / 323 MB, free: 364 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.006826, allocations: 20.47 kB / 323 MB, free: 352 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.006827, allocations: 0 / 323 MB, free: 352 kB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001059/0.006933, allocations: 60.12 kB / 323.1 MB, free: 304 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.006948, allocations: 5.281 kB / 323.1 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.006952, allocations: 0.9375 kB / 323.1 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.006968, allocations: 0 / 323.1 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.007035, allocations: 5.031 kB / 323.1 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.00704, allocations: 1.125 kB / 323.1 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.007072, allocations: 2.016 kB / 323.1 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.00708, allocations: 5.031 kB / 323.1 MB, free: 300 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.977e-05/0.00714, allocations: 117.4 kB / 323.2 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.007219, allocations: 58.97 kB / 323.3 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.007254, allocations: 13.45 kB / 323.3 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.007256, allocations: 7.922 kB / 323.3 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.007263, allocations: 0.75 kB / 323.3 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.007267, allocations: 3.531 kB / 323.3 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.007411, allocations: 114.3 kB / 323.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.007414, allocations: 3 kB / 323.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.007475, allocations: 11.83 kB / 323.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.007479, allocations: 2.469 kB / 323.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.007493, allocations: 9.344 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.0075, allocations: 5.266 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.007502, allocations: 2.328 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.007715, allocations: 178 kB / 323.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.007759, allocations: 16.73 kB / 323.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.007782, allocations: 11.03 kB / 323.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.007855, allocations: 3.016 kB / 323.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.007886, allocations: 6.469 kB / 323.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.007892, allocations: 2.047 kB / 323.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.538e-05/0.007978, allocations: 108.3 kB / 323.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007978, allocations: 0 / 323.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.008201, allocations: 4.656 kB / 323.8 MB, free: 15.7 MB / 302.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.0001087/0.00831, allocations: 95.38 kB / 323.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.008448, allocations: 26.91 kB / 323.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.00845, allocations: 1.031 kB / 323.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.008496, allocations: 14.61 kB / 323.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.008855, allocations: 27.7 kB / 323.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.00925, allocations: 180.7 kB / 324.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.611e-05/0.009336, allocations: 75.56 kB / 324.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.711e-05/0.009363, allocations: 2.078 kB / 324.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.009395, allocations: 11.66 kB / 324.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.009395, allocations: 4.25 kB / 324.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Templates: time 0.003408/0.0128, allocations: 0.6189 MB / 324.8 MB, free: 15.25 MB / 302.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.313023217022419]