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.001472/0.001472, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.001568/0.001568, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.458/1.458, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.001686/0.001686, allocations: 51.92 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1173, allocations: 52.14 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003458/0.1208, allocations: 1.598 MB / 420.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1218, allocations: 478.7 kB / 421 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.1219, allocations: 4 kB / 421 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.913e-05/0.1219, allocations: 3.938 kB / 421 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.1221, allocations: 15.86 kB / 421 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.1224, allocations: 51.88 kB / 421.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.1226, allocations: 47.86 kB / 421.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1227, allocations: 12.17 kB / 421.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.171e-05/0.1228, allocations: 27.86 kB / 421.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.1228, allocations: 19.86 kB / 421.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1229, allocations: 4 kB / 421.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.1229, allocations: 7.938 kB / 421.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.1229, allocations: 11.98 kB / 421.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.123, allocations: 19.81 kB / 421.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1231, allocations: 63.67 kB / 421.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1231, allocations: 0 / 421.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.394e-05/0.1232, allocations: 4 kB / 421.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1232, allocations: 0 / 421.3 MB, free: 9.73 MB / 350.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.0006427/0.1238, allocations: 387 kB / 421.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1239, allocations: 8.031 kB / 421.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.1239, allocations: 8.891 kB / 421.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.1243, allocations: 202.3 kB / 421.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.1243, allocations: 4.375 kB / 421.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1243, allocations: 8.312 kB / 421.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.1247, allocations: 122 kB / 422 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1247, allocations: 0 / 422 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1247, allocations: 0 / 422 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1247, allocations: 0 / 422 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.85e-05/0.1248, allocations: 31.92 kB / 422.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.1252, allocations: 274.5 kB / 422.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1253, allocations: 75.78 kB / 422.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.1254, allocations: 30.62 kB / 422.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1254, allocations: 0 / 422.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1255, allocations: 34.56 kB / 422.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1255, allocations: 0 / 422.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003042/0.1258, allocations: 89.5 kB / 422.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/0.1259, allocations: 110.8 kB / 422.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.126, allocations: 137.8 kB / 422.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.126, allocations: 25.7 kB / 422.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.1261, allocations: 88.12 kB / 422.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1261, allocations: 12.33 kB / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.1262, allocations: 17.72 kB / 422.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1263, allocations: 322.8 kB / 423.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.1264, allocations: 8 kB / 423.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.1264, allocations: 31.42 kB / 423.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1265, allocations: 51.36 kB / 423.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1265, allocations: 0 / 423.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00016/0.1267, allocations: 77.5 kB / 423.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1267, allocations: 7.938 kB / 423.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1267, allocations: 8.125 kB / 423.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1267, allocations: 0 / 423.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.1268, allocations: 8 kB / 423.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1268, allocations: 0 / 423.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.1269, allocations: 7.984 kB / 423.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1269, allocations: 0 / 423.5 MB, free: 7.285 MB / 350.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.0001046/0.127, allocations: 121.8 kB / 423.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/0.1271, allocations: 53.58 kB / 423.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.1271, allocations: 15.94 kB / 423.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1271, allocations: 0 / 423.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1271, allocations: 0 / 423.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1272, allocations: 4 kB / 423.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.1274, allocations: 173.6 kB / 423.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/0.1274, allocations: 4 kB / 423.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.1275, allocations: 8 kB / 423.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1275, allocations: 4.094 kB / 423.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1275, allocations: 3.984 kB / 423.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1275, allocations: 3.938 kB / 423.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1275, allocations: 7.984 kB / 423.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1277, allocations: 181.1 kB / 424 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-05/0.1278, allocations: 93.05 kB / 424.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1278, allocations: 3.938 kB / 424.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.1279, allocations: 4 kB / 424.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.1279, allocations: 4 kB / 424.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1279, allocations: 4 kB / 424.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.519e-05/0.128, allocations: 109.5 kB / 424.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.128, allocations: 0 / 424.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.1282, allocations: 8 kB / 424.2 MB, free: 6.387 MB / 350.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.000156/0.1284, allocations: 107.7 kB / 424.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1286, allocations: 32.09 kB / 424.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1286, allocations: 4.062 kB / 424.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.502e-05/0.1286, allocations: 8 kB / 424.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1291, allocations: 30.62 kB / 424.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.1296, allocations: 214.2 kB / 424.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.1302, allocations: 0.7081 MB / 425.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.1303, allocations: 11.38 kB / 425.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1303, allocations: 0 / 425.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of Templates: time 0.00295/0.1332, allocations: 0.8137 MB / 426.2 MB, free: 4.398 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: 6.49584015714936]