Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 111.9 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.0011/0.0011, 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.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 46.64 kB / 302.1 MB, free: 5.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1089, allocations: 49.45 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003344/0.1123, allocations: 1.535 MB / 353 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.1133, allocations: 0.4908 MB / 353.5 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.1135, allocations: 4 kB / 353.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.996e-05/0.1135, allocations: 7.922 kB / 353.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.1137, allocations: 11.88 kB / 353.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.114, allocations: 51.83 kB / 353.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.1142, allocations: 43.84 kB / 353.6 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1143, allocations: 15.98 kB / 353.7 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.1144, allocations: 27.86 kB / 353.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.1144, allocations: 19.86 kB / 353.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1145, allocations: 4 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.1145, allocations: 8 kB / 353.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.1145, allocations: 11.98 kB / 353.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.1146, allocations: 23.81 kB / 353.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.1147, allocations: 51.73 kB / 353.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1147, allocations: 4 kB / 353.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1147, allocations: 0 / 353.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1147, allocations: 0 / 353.8 MB, free: 1.344 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.0004846/0.1152, allocations: 379.1 kB / 354.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1153, allocations: 8.031 kB / 354.2 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.1153, allocations: 12.84 kB / 354.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.1156, allocations: 200.1 kB / 354.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1156, allocations: 8.375 kB / 354.4 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.1156, allocations: 384 / 354.4 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.1159, allocations: 121.3 kB / 354.5 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1159, allocations: 0 / 354.5 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.1159, allocations: 0 / 354.5 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1159, allocations: 0 / 354.5 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.998e-05/0.116, allocations: 23.92 kB / 354.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.1163, allocations: 261.7 kB / 354.8 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.1164, allocations: 53.14 kB / 354.9 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.1164, allocations: 17.78 kB / 354.9 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1165, allocations: 0 / 354.9 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1165, allocations: 30.56 kB / 354.9 MB, free: 64 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1165, allocations: 0 / 354.9 MB, free: 64 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002421/0.1167, allocations: 73.61 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.1168, allocations: 77.11 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.117, allocations: 138.1 kB / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.117, allocations: 25.7 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.117, allocations: 92.05 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.1171, allocations: 11.94 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.1171, allocations: 17.97 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1173, allocations: 318.8 kB / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.1173, allocations: 8 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.1174, allocations: 17.7 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.342e-05/0.1175, allocations: 41.64 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1175, allocations: 0 / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001237/0.1176, allocations: 57.53 kB / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1176, allocations: 4 kB / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1176, allocations: 4 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1176, allocations: 0 / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-05/0.1177, allocations: 7.984 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1177, allocations: 3.938 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.1178, allocations: 4 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1178, allocations: 4.062 kB / 355.8 MB, free: 15.09 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.967e-05/0.1179, allocations: 125.7 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.118, allocations: 37.61 kB / 355.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.118, allocations: 15.86 kB / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.118, allocations: 0 / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.118, allocations: 0 / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.118, allocations: 3.984 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1182, allocations: 169.5 kB / 356.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1182, allocations: 8.016 kB / 356.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.1183, allocations: 8 kB / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1183, allocations: 0 / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1183, allocations: 0 / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1183, allocations: 3.938 kB / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1183, allocations: 4 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1185, allocations: 164.2 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.1186, allocations: 89 kB / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1186, allocations: 8 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.1187, allocations: 0 / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.1187, allocations: 0 / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1187, allocations: 8 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.32e-05/0.1188, allocations: 113.8 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1188, allocations: 0 / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.119, allocations: 4 kB / 356.5 MB, free: 14.24 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.667e-05/0.1191, allocations: 99.81 kB / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.1192, allocations: 19.98 kB / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1193, allocations: 4 kB / 356.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.1193, allocations: 7.984 kB / 356.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1196, allocations: 23.89 kB / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.12, allocations: 166 kB / 356.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1202, allocations: 0.6846 MB / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.342e-05/0.1203, allocations: 7.984 kB / 357.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.1203, allocations: 7.438 kB / 357.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.154e-06/0.1203, allocations: 0 / 357.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of Templates: time 0.002654/0.123, allocations: 0.5285 MB / 358.1 MB, free: 12.64 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches