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.0008016/0.0008016, allocations: 93.34 kB / 16.65 MB, free: 6.598 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.00081/0.0008103, allocations: 179.3 kB / 17.56 MB, free: 6.199 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.373/1.373, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002948, allocations: 8 kB / 301.4 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1086, allocations: 50.42 MB / 351.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002153/0.1108, allocations: 1.257 MB / 353.1 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009124/0.1117, allocations: 466.9 kB / 353.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1119, allocations: 3.938 kB / 353.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.1119, allocations: 3.984 kB / 353.6 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.1121, allocations: 7.938 kB / 353.6 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.1124, allocations: 39.89 kB / 353.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1126, allocations: 43.8 kB / 353.6 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1127, allocations: 23.94 kB / 353.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.1128, allocations: 19.92 kB / 353.7 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.1129, allocations: 15.86 kB / 353.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1129, allocations: 4 kB / 353.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.1129, allocations: 0 / 353.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.113, allocations: 11.98 kB / 353.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.1131, allocations: 53.5 kB / 353.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.1132, allocations: 51.73 kB / 353.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1132, allocations: 0 / 353.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1132, allocations: 0 / 353.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1132, allocations: 4 kB / 353.8 MB, free: 1.449 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.0005507/0.1138, allocations: 367.4 kB / 354.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1138, allocations: 12.03 kB / 354.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.1139, allocations: 8.844 kB / 354.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1142, allocations: 188.2 kB / 354.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1142, allocations: 4.375 kB / 354.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.1142, allocations: 8.312 kB / 354.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1145, allocations: 113.3 kB / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1145, allocations: 0 / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1145, allocations: 0 / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1145, allocations: 0 / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.833e-05/0.1146, allocations: 31.92 kB / 354.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.1149, allocations: 257.8 kB / 354.8 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.1151, allocations: 45.14 kB / 354.8 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.1151, allocations: 29.77 kB / 354.9 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1151, allocations: 0 / 354.9 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1152, allocations: 30.56 kB / 354.9 MB, free: 192 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1152, allocations: 0 / 354.9 MB, free: 192 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002516/0.1154, allocations: 81.73 kB / 355 MB, free: 104 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.1155, allocations: 81.11 kB / 355.1 MB, free: 4 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1156, allocations: 136.9 kB / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1157, allocations: 25.7 kB / 355.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.1158, allocations: 92.12 kB / 355.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1158, allocations: 7.875 kB / 355.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.1158, allocations: 9.719 kB / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1159, allocations: 318.9 kB / 355.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.116, allocations: 11.98 kB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.402e-05/0.116, allocations: 25.66 kB / 355.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.273e-05/0.1161, allocations: 41.7 kB / 355.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1161, allocations: 0 / 355.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.1162, allocations: 65.52 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1163, allocations: 4 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1163, allocations: 0 / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1163, allocations: 0 / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/0.1164, allocations: 8 kB / 355.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.1164, allocations: 4.062 kB / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.1164, allocations: 4 kB / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.1164, allocations: 0 / 355.8 MB, free: 15.21 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 7.651e-05/0.1165, allocations: 121.8 kB / 355.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.1166, allocations: 37.61 kB / 356 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.1166, allocations: 15.86 kB / 356 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1166, allocations: 3.938 kB / 356 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1166, allocations: 3.938 kB / 356 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1166, allocations: 4.031 kB / 356 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.1168, allocations: 173.6 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1168, allocations: 0 / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.1169, allocations: 4 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1169, allocations: 4 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1169, allocations: 4 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1169, allocations: 0 / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1169, allocations: 3.984 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.1171, allocations: 172.2 kB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.1171, allocations: 89.09 kB / 356.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.1171, allocations: 0 / 356.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.1172, allocations: 4 kB / 356.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.1173, allocations: 7.922 kB / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1173, allocations: 4.031 kB / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.718e-05/0.1173, allocations: 105.8 kB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1173, allocations: 4 kB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.1176, allocations: 4 kB / 356.5 MB, free: 14.36 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 8.491e-05/0.1177, allocations: 103.2 kB / 356.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.1178, allocations: 23.98 kB / 356.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1178, allocations: 4.125 kB / 356.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.1178, allocations: 11.94 kB / 356.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1182, allocations: 27.02 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.1186, allocations: 192.8 kB / 356.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1188, allocations: 0.6887 MB / 357.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.918e-05/0.1188, allocations: 3.938 kB / 357.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.1189, allocations: 11.44 kB / 357.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1189, allocations: 0 / 357.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Templates: time 0.002419/0.1213, allocations: 478.1 kB / 358.1 MB, free: 12.77 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/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