Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 112.5 kB / 17.68 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 190.9 kB / 18.62 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 52.59 kB / 302 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1168, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003216/0.12, allocations: 1.545 MB / 353 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008478/0.1209, allocations: 474.8 kB / 353.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.121, allocations: 7.938 kB / 353.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/0.1211, allocations: 3.938 kB / 353.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.1212, allocations: 15.91 kB / 353.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.1215, allocations: 47.83 kB / 353.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1217, allocations: 43.8 kB / 353.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1218, allocations: 15.98 kB / 353.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.745e-05/0.1219, allocations: 19.92 kB / 353.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.1219, allocations: 27.84 kB / 353.7 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.122, allocations: 4 kB / 353.7 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.122, allocations: 4 kB / 353.7 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.122, allocations: 8 kB / 353.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.1221, allocations: 27.8 kB / 353.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.1222, allocations: 55.75 kB / 353.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1222, allocations: 0 / 353.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1222, allocations: 3.938 kB / 353.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1222, allocations: 0 / 353.8 MB, free: 1.387 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.0005101/0.1228, allocations: 383 kB / 354.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1228, allocations: 12.03 kB / 354.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.1229, allocations: 8.844 kB / 354.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.1232, allocations: 200.1 kB / 354.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1232, allocations: 384 / 354.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1232, allocations: 4.375 kB / 354.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.1235, allocations: 117.3 kB / 354.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1235, allocations: 0 / 354.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1235, allocations: 0 / 354.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1235, allocations: 3.938 kB / 354.5 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.1236, allocations: 23.92 kB / 354.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.1239, allocations: 269.7 kB / 354.8 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.39e-05/0.124, allocations: 41.16 kB / 354.8 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.1241, allocations: 25.77 kB / 354.8 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1241, allocations: 0 / 354.8 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1242, allocations: 34.56 kB / 354.9 MB, free: 100 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1242, allocations: 0 / 354.9 MB, free: 100 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002437/0.1244, allocations: 65.61 kB / 354.9 MB, free: 28 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.1245, allocations: 77.11 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1246, allocations: 138.2 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1246, allocations: 29.7 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.1247, allocations: 92.28 kB / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.1247, allocations: 7.938 kB / 355.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1248, allocations: 17.72 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1249, allocations: 310.8 kB / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.162e-05/0.1249, allocations: 15.92 kB / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/0.125, allocations: 17.72 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.483e-05/0.1251, allocations: 37.7 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1251, allocations: 0 / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001154/0.1252, allocations: 61.52 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1252, allocations: 4 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1252, allocations: 4 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1252, allocations: 0 / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.1253, allocations: 4 kB / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1253, allocations: 4.062 kB / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.1254, allocations: 15.92 kB / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1254, allocations: 0 / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.959e-05/0.1255, allocations: 117.8 kB / 355.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.1256, allocations: 45.53 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.1256, allocations: 11.88 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1256, allocations: 0 / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1256, allocations: 0 / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1256, allocations: 0 / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.1258, allocations: 173.6 kB / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1258, allocations: 0 / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.1259, allocations: 7.984 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1259, allocations: 0 / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1259, allocations: 4 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1259, allocations: 0 / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1259, allocations: 4 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.1261, allocations: 160.2 kB / 356.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.1261, allocations: 96.94 kB / 356.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1261, allocations: 4 kB / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1262, allocations: 3.984 kB / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.1263, allocations: 0 / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.1263, allocations: 4 kB / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.1263, allocations: 109.8 kB / 356.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1264, allocations: 0 / 356.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.1266, allocations: 8.031 kB / 356.5 MB, free: 14.29 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.965e-05/0.1267, allocations: 99.72 kB / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1268, allocations: 19.98 kB / 356.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1268, allocations: 7.938 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.399e-05/0.1269, allocations: 11.98 kB / 356.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1272, allocations: 11.97 kB / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.1276, allocations: 163.8 kB / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.1279, allocations: 0.6924 MB / 357.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.777e-05/0.1279, allocations: 7.984 kB / 357.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.1279, allocations: 7.438 kB / 357.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1279, allocations: 0 / 357.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of Templates: time 0.002549/0.1305, allocations: 0.5243 MB / 358 MB, free: 12.7 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches