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.001508/0.001508, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001543/0.001543, allocations: 142.1 kB / 24.97 MB, free: 8.316 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.9593/0.9593, allocations: 173.3 MB / 201.5 MB, free: 9.324 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.222e-06/1.222e-06, allocations: 0 / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.749e-05, allocations: 6.25 kB / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002286/0.002313, allocations: 1.612 MB / 269.7 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007014/0.003015, allocations: 470.6 kB / 270.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.003108, allocations: 7.938 kB / 270.2 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.04e-05/0.003158, allocations: 3.938 kB / 270.2 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.003303, allocations: 15.84 kB / 270.2 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.003564, allocations: 47.83 kB / 270.2 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003668, allocations: 47.73 kB / 270.3 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.00377, allocations: 24.14 kB / 270.3 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.708e-05/0.003857, allocations: 27.92 kB / 270.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.003901, allocations: 11.98 kB / 270.3 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.003921, allocations: 0 / 270.3 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.003932, allocations: 7.938 kB / 270.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.003979, allocations: 15.97 kB / 270.4 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.004006, allocations: 15.94 kB / 270.4 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.004116, allocations: 39.83 kB / 270.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.00412, allocations: 0 / 270.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004121, allocations: 0 / 270.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004125, allocations: 4 kB / 270.4 MB, free: 4.352 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.0004041/0.004529, allocations: 404.3 kB / 270.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.004568, allocations: 12.92 kB / 270.8 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.00461, allocations: 12.84 kB / 270.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.004783, allocations: 148.4 kB / 271 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.004791, allocations: 4.375 kB / 271 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.004801, allocations: 384 / 271 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.005039, allocations: 133.3 kB / 271.1 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.005045, allocations: 192 / 271.1 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.005057, allocations: 8.125 kB / 271.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.005064, allocations: 4 kB / 271.1 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.622e-05/0.00509, allocations: 11.92 kB / 271.1 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.005364, allocations: 275.2 kB / 271.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.588e-05/0.00545, allocations: 85.25 kB / 271.5 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/0.005496, allocations: 35.11 kB / 271.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.005516, allocations: 4 kB / 271.5 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.005541, allocations: 45.27 kB / 271.6 MB, free: 3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.005542, allocations: 0 / 271.6 MB, free: 3 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001753/0.005717, allocations: 65.58 kB / 271.6 MB, free: 2.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.00577, allocations: 110.8 kB / 271.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.005876, allocations: 193.9 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.005889, allocations: 29.7 kB / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.005939, allocations: 130.9 kB / 272.1 MB, free: 2.422 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.005955, allocations: 12.27 kB / 272.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.005988, allocations: 23.38 kB / 272.1 MB, free: 2.379 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.006099, allocations: 496.1 kB / 272.6 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.006114, allocations: 4 kB / 272.6 MB, free: 1.879 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.006122, allocations: 3.938 kB / 272.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.00615, allocations: 15.69 kB / 272.6 MB, free: 1.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006152, allocations: 0 / 272.6 MB, free: 1.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.503e-05/0.006207, allocations: 45.52 kB / 272.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.006223, allocations: 8 kB / 272.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.006235, allocations: 96 / 272.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.00625, allocations: 4 kB / 272.7 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/0.006328, allocations: 0 / 272.7 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.006333, allocations: 4 kB / 272.7 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.00635, allocations: 0 / 272.7 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.006357, allocations: 4 kB / 272.7 MB, free: 1.785 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 8.423e-05/0.006441, allocations: 160.6 kB / 272.9 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.006501, allocations: 53.53 kB / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.006533, allocations: 15.95 kB / 272.9 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.006535, allocations: 0 / 272.9 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.006539, allocations: 4.062 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006542, allocations: 0 / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.00665, allocations: 128.6 kB / 273.1 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006651, allocations: 0 / 273.1 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.006693, allocations: 11.98 kB / 273.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.006695, allocations: 0 / 273.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.006706, allocations: 7.938 kB / 273.1 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006708, allocations: 0 / 273.1 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006709, allocations: 0 / 273.1 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.006854, allocations: 223.2 kB / 273.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.006893, allocations: 19.94 kB / 273.3 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.006909, allocations: 3.938 kB / 273.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.006949, allocations: 0 / 273.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.006991, allocations: 11.98 kB / 273.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.006995, allocations: 0 / 273.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.629e-05/0.007061, allocations: 146.3 kB / 273.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007061, allocations: 0 / 273.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.007224, allocations: 4 kB / 273.5 MB, free: 0.9297 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 0.000106/0.00733, allocations: 95.3 kB / 273.6 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.007438, allocations: 31.59 kB / 273.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.00744, allocations: 0 / 273.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.007455, allocations: 15.62 kB / 273.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.007835, allocations: 31.7 kB / 273.7 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.008423, allocations: 196.3 kB / 273.8 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.119e-05/0.008474, allocations: 63.34 kB / 273.9 MB, free: 444 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.814e-05/0.008502, allocations: 4.312 kB / 273.9 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.008535, allocations: 12.5 kB / 273.9 MB, free: 428 kB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.008536, allocations: 0 / 273.9 MB, free: 428 kB / 250.7 MB Notification: Performance of Templates: time 0.00285/0.01139, allocations: 0.6226 MB / 274.5 MB, free: 15.81 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 -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.705313578946516]