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.001012/0.001012, allocations: 111.2 kB / 17.68 MB, free: 5.332 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.0009705/0.0009705, allocations: 192 kB / 18.62 MB, free: 4.41 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.386/1.386, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 55.02 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1213, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003492/0.1249, allocations: 1.539 MB / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000829/0.1258, allocations: 478.7 kB / 353.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.369e-05/0.1259, allocations: 0 / 353.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.348e-05/0.1259, allocations: 7.875 kB / 353.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.1261, allocations: 11.92 kB / 353.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.1264, allocations: 47.83 kB / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.1266, allocations: 39.86 kB / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1267, allocations: 19.97 kB / 353.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.1268, allocations: 23.88 kB / 353.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.1269, allocations: 19.86 kB / 353.7 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1269, allocations: 4 kB / 353.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.1269, allocations: 7.938 kB / 353.7 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.127, allocations: 11.98 kB / 353.7 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.127, allocations: 23.81 kB / 353.7 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1272, allocations: 59.73 kB / 353.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1272, allocations: 0 / 353.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1272, allocations: 0 / 353.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1272, allocations: 0 / 353.8 MB, free: 1.398 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.000605/0.1278, allocations: 379.1 kB / 354.1 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1279, allocations: 12.03 kB / 354.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.128, allocations: 8.844 kB / 354.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.1283, allocations: 204.1 kB / 354.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1283, allocations: 4.359 kB / 354.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1283, allocations: 8.375 kB / 354.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1286, allocations: 105.4 kB / 354.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1286, allocations: 0 / 354.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1286, allocations: 0 / 354.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1286, allocations: 0 / 354.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/0.1287, allocations: 19.98 kB / 354.5 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.1291, allocations: 277.6 kB / 354.8 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.369e-05/0.1292, allocations: 41.27 kB / 354.8 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.1292, allocations: 21.66 kB / 354.8 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1292, allocations: 0 / 354.8 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1293, allocations: 38.55 kB / 354.9 MB, free: 116 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1293, allocations: 4 kB / 354.9 MB, free: 112 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002455/0.1295, allocations: 61.62 kB / 354.9 MB, free: 44 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.1296, allocations: 77.11 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1297, allocations: 145.1 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1298, allocations: 25.7 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.1298, allocations: 92.3 kB / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.1298, allocations: 3.938 kB / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1299, allocations: 21.7 kB / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.13, allocations: 314.8 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.13, allocations: 11.98 kB / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.1301, allocations: 13.72 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.846e-05/0.1302, allocations: 41.64 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1302, allocations: 0 / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001141/0.1303, allocations: 57.53 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1303, allocations: 11.98 kB / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1303, allocations: 0 / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1303, allocations: 0 / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.1304, allocations: 4 kB / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1304, allocations: 4.062 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.885e-05/0.1305, allocations: 15.88 kB / 355.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1305, allocations: 0 / 355.8 MB, free: 15.15 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.304e-05/0.1306, allocations: 125.7 kB / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.1306, allocations: 37.61 kB / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.1307, allocations: 15.86 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1307, allocations: 0 / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1307, allocations: 3.984 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1307, allocations: 4.031 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.1309, allocations: 173.6 kB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1309, allocations: 0 / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.1309, allocations: 7.938 kB / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.131, allocations: 0 / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.131, allocations: 0 / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.131, allocations: 4 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.131, allocations: 3.984 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.1312, allocations: 168.2 kB / 356.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.1312, allocations: 89 kB / 356.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1313, allocations: 0 / 356.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.348e-05/0.1313, allocations: 0 / 356.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.1314, allocations: 7.984 kB / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1314, allocations: 0 / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.004e-05/0.1315, allocations: 103.3 kB / 356.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1315, allocations: 0 / 356.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1317, allocations: 12.03 kB / 356.5 MB, free: 14.3 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.901e-05/0.1318, allocations: 103.7 kB / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.132, allocations: 23.98 kB / 356.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.132, allocations: 0 / 356.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.132, allocations: 4 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.1323, allocations: 27.8 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.0003399/0.1327, allocations: 167.5 kB / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.133, allocations: 0.6885 MB / 357.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.796e-05/0.133, allocations: 0 / 357.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.133, allocations: 7.438 kB / 357.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1331, allocations: 4 kB / 357.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Templates: time 0.002841/0.1359, allocations: 0.5247 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 cvode -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