Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 110.6 kB / 17.86 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 211.5 kB / 18.79 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 62.89 kB / 306.9 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1217, allocations: 50.53 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003664/0.1254, allocations: 1.625 MB / 359.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1266, allocations: 0.5493 MB / 359.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1268, allocations: 7.938 kB / 359.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.267e-05/0.1269, allocations: 0 / 359.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.1271, allocations: 11.91 kB / 359.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1275, allocations: 59.83 kB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.1276, allocations: 43.8 kB / 359.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1277, allocations: 16.17 kB / 359.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1278, allocations: 23.91 kB / 359.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.626e-05/0.1279, allocations: 23.86 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1279, allocations: 4 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-05/0.128, allocations: 8 kB / 359.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.1281, allocations: 15.92 kB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.1281, allocations: 23.81 kB / 359.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1282, allocations: 47.86 kB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1283, allocations: 0 / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1283, allocations: 0 / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1283, allocations: 0 / 359.9 MB, free: 12.04 MB / 302.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.0005354/0.1288, allocations: 383.3 kB / 360.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1289, allocations: 12.03 kB / 360.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.1291, allocations: 16.83 kB / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1293, allocations: 200.7 kB / 360.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1293, allocations: 4.359 kB / 360.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.1293, allocations: 7.938 kB / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1296, allocations: 105 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1296, allocations: 0 / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1297, allocations: 4 kB / 360.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1297, allocations: 0 / 360.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.1298, allocations: 23.92 kB / 360.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.1302, allocations: 265.7 kB / 360.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/0.1303, allocations: 45.16 kB / 360.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.1303, allocations: 21.77 kB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1304, allocations: 0 / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1304, allocations: 34.56 kB / 361 MB, free: 10.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1304, allocations: 0 / 361 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002756/0.1307, allocations: 69.61 kB / 361.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.1308, allocations: 85.11 kB / 361.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.131, allocations: 151.8 kB / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.131, allocations: 25.7 kB / 361.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.1311, allocations: 88.08 kB / 361.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.1311, allocations: 7.906 kB / 361.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.1311, allocations: 17.7 kB / 361.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1313, allocations: 323 kB / 361.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.678e-05/0.1313, allocations: 11.92 kB / 361.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.05e-05/0.1314, allocations: 17.66 kB / 361.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.776e-05/0.1315, allocations: 29.7 kB / 361.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1315, allocations: 0 / 361.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000122/0.1316, allocations: 61.59 kB / 361.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1316, allocations: 8 kB / 361.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1316, allocations: 3.984 kB / 361.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1316, allocations: 0 / 361.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.1317, allocations: 4 kB / 361.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.1317, allocations: 0 / 361.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.1318, allocations: 7.938 kB / 361.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1318, allocations: 0 / 361.9 MB, free: 9.785 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 9.857e-05/0.1319, allocations: 125.8 kB / 362 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.132, allocations: 45.55 kB / 362 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.132, allocations: 11.86 kB / 362.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.132, allocations: 0 / 362.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.132, allocations: 0 / 362.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.132, allocations: 7.938 kB / 362.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.1322, allocations: 169.7 kB / 362.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1322, allocations: 0 / 362.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.1323, allocations: 4 kB / 362.2 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1323, allocations: 8.031 kB / 362.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1323, allocations: 3.938 kB / 362.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1323, allocations: 3.984 kB / 362.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1323, allocations: 0 / 362.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.1325, allocations: 160.2 kB / 362.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.1326, allocations: 93 kB / 362.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1326, allocations: 4.031 kB / 362.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.1327, allocations: 7.938 kB / 362.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1327, allocations: 7.922 kB / 362.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.1327, allocations: 0 / 362.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.117e-05/0.1328, allocations: 114.8 kB / 362.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1328, allocations: 0 / 362.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.133, allocations: 4 kB / 362.6 MB, free: 8.926 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.0001168/0.1332, allocations: 95.25 kB / 362.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.1333, allocations: 23.98 kB / 362.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1333, allocations: 0 / 362.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.1334, allocations: 11.94 kB / 362.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.1338, allocations: 19.95 kB / 362.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.1342, allocations: 214.2 kB / 363 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1346, allocations: 0.6887 MB / 363.7 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.1346, allocations: 11.44 kB / 363.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of SimCode: time 2.094e-06/0.1346, allocations: 0 / 363.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of Templates: time 0.002449/0.1371, allocations: 0.7808 MB / 364.5 MB, free: 7.023 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches