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.001426/0.001426, allocations: 119.4 kB / 18.41 MB, free: 4.688 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.001504/0.001504, allocations: 190.9 kB / 21.35 MB, free: 1.75 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.533/1.533, allocations: 222.9 MB / 247 MB, free: 4.344 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 0.001696/0.001696, allocations: 55.91 kB / 358.7 MB, free: 8.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1172, allocations: 49.43 MB / 408.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003293/0.1206, allocations: 1.574 MB / 409.7 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009665/0.1216, allocations: 474.7 kB / 410.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.1217, allocations: 4 kB / 410.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.201e-05/0.1218, allocations: 7.875 kB / 410.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.122, allocations: 11.92 kB / 410.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.1223, allocations: 55.81 kB / 410.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1224, allocations: 47.8 kB / 410.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1225, allocations: 20.16 kB / 410.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.011e-05/0.1226, allocations: 19.92 kB / 410.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.1227, allocations: 23.86 kB / 410.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1227, allocations: 4 kB / 410.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.1227, allocations: 4 kB / 410.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.1228, allocations: 15.92 kB / 410.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.1229, allocations: 23.81 kB / 410.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.123, allocations: 59.67 kB / 410.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1231, allocations: 0 / 410.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1231, allocations: 0 / 410.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1231, allocations: 0 / 410.4 MB, free: 4.641 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.0005473/0.1236, allocations: 379.1 kB / 410.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1237, allocations: 12.02 kB / 410.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.1237, allocations: 12.89 kB / 410.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1241, allocations: 208.1 kB / 411 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1241, allocations: 384 / 411 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1241, allocations: 4.375 kB / 411 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.1245, allocations: 118 kB / 411.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1245, allocations: 0 / 411.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1245, allocations: 7.938 kB / 411.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1245, allocations: 0 / 411.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/0.1246, allocations: 27.86 kB / 411.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.125, allocations: 270.6 kB / 411.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.1252, allocations: 79.78 kB / 411.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.1253, allocations: 34.62 kB / 411.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1253, allocations: 7.938 kB / 411.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.1253, allocations: 30.56 kB / 411.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.1253, allocations: 0 / 411.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000293/0.1256, allocations: 81.56 kB / 411.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/0.1257, allocations: 123.1 kB / 411.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.1259, allocations: 135.9 kB / 411.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1259, allocations: 25.7 kB / 412 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.126, allocations: 92.14 kB / 412.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.126, allocations: 7.938 kB / 412.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.1261, allocations: 17.72 kB / 412.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1263, allocations: 318.8 kB / 412.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.1263, allocations: 11.98 kB / 412.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.1264, allocations: 35.42 kB / 412.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1265, allocations: 47.36 kB / 412.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1265, allocations: 8 kB / 412.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001521/0.1267, allocations: 65.58 kB / 412.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1267, allocations: 11.98 kB / 412.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1267, allocations: 0 / 412.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1267, allocations: 0 / 412.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.1268, allocations: 11.94 kB / 412.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1269, allocations: 4 kB / 412.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.1269, allocations: 7.922 kB / 412.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1269, allocations: 8.125 kB / 412.6 MB, free: 2.18 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.0001139/0.127, allocations: 117.8 kB / 412.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1272, allocations: 61.58 kB / 412.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.1272, allocations: 3.875 kB / 412.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1272, allocations: 4 kB / 412.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1272, allocations: 0 / 412.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1272, allocations: 0 / 412.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.1275, allocations: 177.6 kB / 413 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1275, allocations: 8 kB / 413 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.1276, allocations: 8 kB / 413 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1276, allocations: 0 / 413 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1276, allocations: 8 kB / 413 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1276, allocations: 0 / 413 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1276, allocations: 0 / 413 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1278, allocations: 181.2 kB / 413.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/0.1279, allocations: 105.1 kB / 413.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.128, allocations: 3.938 kB / 413.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.128, allocations: 0 / 413.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1281, allocations: 4 kB / 413.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1281, allocations: 0 / 413.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1282, allocations: 113.7 kB / 413.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1282, allocations: 0 / 413.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1285, allocations: 8 kB / 413.4 MB, free: 1.285 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.0001215/0.1286, allocations: 103.7 kB / 413.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.1288, allocations: 35.91 kB / 413.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1288, allocations: 0 / 413.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.055e-05/0.1288, allocations: 12 kB / 413.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1292, allocations: 28.39 kB / 413.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.1297, allocations: 210.3 kB / 413.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.13, allocations: 0.6922 MB / 414.5 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.1301, allocations: 15.42 kB / 414.5 MB, free: 124 kB / 334.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1301, allocations: 0 / 414.5 MB, free: 124 kB / 334.1 MB Notification: Performance of Templates: time 0.002848/0.1329, allocations: 0.8206 MB / 415.3 MB, free: 15.3 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.16362914792262]