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.0009728/0.0009728, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009948/0.0009948, allocations: 147.4 kB / 24.9 MB, free: 8.727 MB / 18.57 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 0.9749/0.9749, allocations: 173.4 MB / 201.5 MB, free: 8.738 MB / 186.7 MB " [Timeout remaining time 179] 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.172e-06/1.172e-06, allocations: 0 / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.766e-05, allocations: 6.109 kB / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002034/0.002052, allocations: 1.678 MB / 270.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006291/0.002681, allocations: 466.5 kB / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.002762, allocations: 11.94 kB / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.068e-05/0.002803, allocations: 3.938 kB / 270.7 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.002925, allocations: 15.84 kB / 270.7 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.003128, allocations: 51.77 kB / 270.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.564e-05/0.003213, allocations: 43.8 kB / 270.8 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/0.003284, allocations: 20.16 kB / 270.8 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.003361, allocations: 23.92 kB / 270.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.00341, allocations: 19.92 kB / 270.8 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.003425, allocations: 0 / 270.8 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.003433, allocations: 4 kB / 270.8 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.00347, allocations: 19.97 kB / 270.9 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.003489, allocations: 15.94 kB / 270.9 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.502e-05/0.003574, allocations: 35.83 kB / 270.9 MB, free: 3.551 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.003576, allocations: 0 / 270.9 MB, free: 3.551 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003577, allocations: 0 / 270.9 MB, free: 3.551 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.00358, allocations: 0 / 270.9 MB, free: 3.551 MB / 250.7 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.000282/0.003862, allocations: 280.5 kB / 271.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.003894, allocations: 12.92 kB / 271.2 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.003917, allocations: 4.938 kB / 271.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.004062, allocations: 149.6 kB / 271.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.004068, allocations: 4.375 kB / 271.4 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.004077, allocations: 4.375 kB / 271.4 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.004229, allocations: 115.1 kB / 271.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.004234, allocations: 192 / 271.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.004241, allocations: 4.125 kB / 271.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004246, allocations: 3.984 kB / 271.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.004263, allocations: 15.94 kB / 271.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.004411, allocations: 158.1 kB / 271.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/0.00446, allocations: 59.78 kB / 271.7 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.00448, allocations: 22.64 kB / 271.7 MB, free: 2.605 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.004495, allocations: 11.92 kB / 271.7 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.004512, allocations: 30.56 kB / 271.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.004513, allocations: 0 / 271.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001127/0.004626, allocations: 61.84 kB / 271.8 MB, free: 2.488 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.004672, allocations: 110.8 kB / 271.9 MB, free: 2.355 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.004741, allocations: 133.6 kB / 272.1 MB, free: 2.215 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.527e-06/0.00475, allocations: 25.7 kB / 272.1 MB, free: 2.184 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.00478, allocations: 96.05 kB / 272.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.004794, allocations: 11.89 kB / 272.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.004817, allocations: 13.72 kB / 272.2 MB, free: 2.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.004891, allocations: 322.8 kB / 272.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-06/0.004897, allocations: 0 / 272.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-06/0.004902, allocations: 0 / 272.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.813e-05/0.00492, allocations: 13.02 kB / 272.5 MB, free: 1.715 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.004922, allocations: 0 / 272.5 MB, free: 1.715 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.97e-05/0.004962, allocations: 37.62 kB / 272.6 MB, free: 1.672 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.004973, allocations: 10.97 kB / 272.6 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.004979, allocations: 3.938 kB / 272.6 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.004987, allocations: 0 / 272.6 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.472e-05/0.005032, allocations: 0 / 272.6 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.005036, allocations: 4 kB / 272.6 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.307e-05/0.005049, allocations: 0 / 272.6 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.005053, allocations: 0 / 272.6 MB, free: 1.656 MB / 250.7 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 4.961e-05/0.005103, allocations: 116.7 kB / 272.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.005141, allocations: 45.64 kB / 272.8 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.005166, allocations: 15.89 kB / 272.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005168, allocations: 0 / 272.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.005169, allocations: 0 / 272.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.005173, allocations: 4 kB / 272.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.36e-05/0.005256, allocations: 77.88 kB / 272.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005257, allocations: 0 / 272.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.005284, allocations: 11.98 kB / 272.9 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.005286, allocations: 4.062 kB / 272.9 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.00529, allocations: 0 / 272.9 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.005292, allocations: 4 kB / 272.9 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.005295, allocations: 3.938 kB / 272.9 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.113e-05/0.005356, allocations: 145.2 kB / 273 MB, free: 1.176 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.005379, allocations: 11.95 kB / 273 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.005389, allocations: 4 kB / 273 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.005422, allocations: 4 kB / 273 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.005443, allocations: 7.922 kB / 273.1 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.005447, allocations: 8 kB / 273.1 MB, free: 1.141 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.159e-05/0.005469, allocations: 28.86 kB / 273.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005469, allocations: 0 / 273.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001176/0.005587, allocations: 7.938 kB / 273.1 MB, free: 1.102 MB / 250.7 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 6.038e-05/0.005647, allocations: 80.42 kB / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.007e-05/0.005697, allocations: 20.78 kB / 273.2 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.0057, allocations: 0 / 273.2 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/0.005709, allocations: 4.859 kB / 273.2 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.005888, allocations: 32.44 kB / 273.2 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.006251, allocations: 187.7 kB / 273.4 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.006284, allocations: 59.34 kB / 273.5 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.009e-05/0.006304, allocations: 4 kB / 273.5 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.006353, allocations: 59.36 kB / 273.5 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006353, allocations: 0 / 273.5 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of Templates: time 0.00204/0.008394, allocations: 0.6556 MB / 274.2 MB, free: 15.95 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4728929940611124]