Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008606/0.0008608, allocations: 91.98 kB / 16.65 MB, free: 6.59 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.001003/0.001003, allocations: 182.9 kB / 17.56 MB, free: 6.203 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.398/1.398, allocations: 223.3 MB / 241.6 MB, free: 184 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 8.875 kB / 301.4 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1092, allocations: 50.41 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002279/0.1116, allocations: 1.268 MB / 353.1 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.1125, allocations: 482.6 kB / 353.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.1126, allocations: 0 / 353.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.1127, allocations: 3.938 kB / 353.6 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.1128, allocations: 19.91 kB / 353.6 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1131, allocations: 39.89 kB / 353.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1133, allocations: 47.8 kB / 353.7 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1134, allocations: 20.17 kB / 353.7 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.1135, allocations: 27.84 kB / 353.7 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.1135, allocations: 11.88 kB / 353.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.1136, allocations: 4 kB / 353.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.1136, allocations: 0 / 353.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.1136, allocations: 15.92 kB / 353.8 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.1137, allocations: 45.52 kB / 353.8 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.782e-05/0.1138, allocations: 55.78 kB / 353.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1138, allocations: 4 kB / 353.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1138, allocations: 0 / 353.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1138, allocations: 0 / 353.9 MB, free: 1.664 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.000445/0.1143, allocations: 367.4 kB / 354.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1143, allocations: 12.03 kB / 354.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.1144, allocations: 8.844 kB / 354.2 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.1146, allocations: 198.9 kB / 354.4 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1146, allocations: 8.375 kB / 354.4 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1146, allocations: 8.312 kB / 354.4 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.1149, allocations: 105.2 kB / 354.5 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1149, allocations: 3.984 kB / 354.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.1149, allocations: 0 / 354.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1149, allocations: 4 kB / 354.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.148e-05/0.115, allocations: 23.98 kB / 354.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.1154, allocations: 257.8 kB / 354.8 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.012e-05/0.1155, allocations: 53.14 kB / 354.9 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.1155, allocations: 17.78 kB / 354.9 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.1156, allocations: 3.984 kB / 354.9 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1156, allocations: 38.5 kB / 354.9 MB, free: 400 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1156, allocations: 0 / 354.9 MB, free: 400 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002538/0.1159, allocations: 77.58 kB / 355 MB, free: 316 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.1159, allocations: 81.05 kB / 355.1 MB, free: 216 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1161, allocations: 133.8 kB / 355.2 MB, free: 72 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.1161, allocations: 29.7 kB / 355.3 MB, free: 36 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1162, allocations: 92.38 kB / 355.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.1163, allocations: 7.938 kB / 355.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1163, allocations: 13.72 kB / 355.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1164, allocations: 318.8 kB / 355.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.1165, allocations: 19.86 kB / 355.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-05/0.1165, allocations: 17.72 kB / 355.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.616e-05/0.1166, allocations: 33.77 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1166, allocations: 3.938 kB / 355.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001302/0.1168, allocations: 61.58 kB / 355.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1168, allocations: 8 kB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1168, allocations: 4.062 kB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1168, allocations: 0 / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.1169, allocations: 4 kB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1169, allocations: 8 kB / 355.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.117, allocations: 0 / 355.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.117, allocations: 11.92 kB / 355.8 MB, free: 15.41 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.593e-05/0.1171, allocations: 117.8 kB / 356 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/0.1171, allocations: 37.61 kB / 356 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.1172, allocations: 15.89 kB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1172, allocations: 4 kB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1172, allocations: 0 / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1172, allocations: 0 / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.1174, allocations: 169.6 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1174, allocations: 4 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.1175, allocations: 4 kB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1175, allocations: 0 / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1175, allocations: 3.984 kB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1175, allocations: 4 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1175, allocations: 4 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.1177, allocations: 164.2 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.1177, allocations: 89 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1178, allocations: 4 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/0.1178, allocations: 8.016 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.1179, allocations: 11.98 kB / 356.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1179, allocations: 0 / 356.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.333e-05/0.1179, allocations: 113.8 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.118, allocations: 0 / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.1182, allocations: 4 kB / 356.6 MB, free: 14.56 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 0.0001037/0.1183, allocations: 99.19 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.1184, allocations: 31.92 kB / 356.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1184, allocations: 3.938 kB / 356.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.1185, allocations: 8 kB / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1188, allocations: 23.89 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.1192, allocations: 189.9 kB / 356.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1195, allocations: 0.6887 MB / 357.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.514e-05/0.1195, allocations: 8 kB / 357.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.1196, allocations: 11.42 kB / 357.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1196, allocations: 4 kB / 357.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Templates: time 0.002653/0.1222, allocations: 0.5202 MB / 358.2 MB, free: 12.92 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches