Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.000864, allocations: 92.83 kB / 16.65 MB, free: 6.586 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.0009079/0.0009083, allocations: 181.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.596/1.596, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003458, allocations: 4.875 kB / 301.4 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 50.43 MB / 351.8 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.0021/0.1367, allocations: 1.28 MB / 353.1 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009112/0.1376, allocations: 486.8 kB / 353.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1378, allocations: 4 kB / 353.6 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.1378, allocations: 11.86 kB / 353.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.138, allocations: 3.938 kB / 353.6 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1383, allocations: 47.28 kB / 353.7 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.1384, allocations: 47.78 kB / 353.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1385, allocations: 20.17 kB / 353.7 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.1386, allocations: 19.86 kB / 353.8 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.1387, allocations: 23.86 kB / 353.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1387, allocations: 0 / 353.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.1387, allocations: 0 / 353.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.1388, allocations: 11.94 kB / 353.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.1388, allocations: 57.48 kB / 353.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.139, allocations: 43.81 kB / 353.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.139, allocations: 0 / 353.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.139, allocations: 0 / 353.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.139, allocations: 0 / 353.9 MB, free: 1.609 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.0004914/0.1395, allocations: 375.4 kB / 354.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1395, allocations: 8.031 kB / 354.3 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.1396, allocations: 8.844 kB / 354.3 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1398, allocations: 206.8 kB / 354.5 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1399, allocations: 384 / 354.5 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1399, allocations: 8.375 kB / 354.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.1402, allocations: 122 kB / 354.6 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1402, allocations: 0 / 354.6 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1402, allocations: 0 / 354.6 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1402, allocations: 4 kB / 354.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.439e-05/0.1403, allocations: 27.98 kB / 354.6 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.1407, allocations: 274.5 kB / 354.9 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1408, allocations: 75.78 kB / 355 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.1409, allocations: 34.62 kB / 355 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1409, allocations: 0 / 355 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.141, allocations: 30.56 kB / 355 MB, free: 260 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.165e-06/0.141, allocations: 4 kB / 355 MB, free: 256 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000288/0.1413, allocations: 97.39 kB / 355.1 MB, free: 152 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.1413, allocations: 110.8 kB / 355.2 MB, free: 16 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1415, allocations: 138.2 kB / 355.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1415, allocations: 29.7 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.1416, allocations: 96.06 kB / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.1416, allocations: 3.906 kB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.1416, allocations: 13.72 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1417, allocations: 318.8 kB / 355.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.61e-05/0.1418, allocations: 11.98 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/0.1418, allocations: 39.42 kB / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1419, allocations: 55.3 kB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.142, allocations: 0 / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001443/0.1421, allocations: 77.56 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1421, allocations: 4 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1421, allocations: 3.984 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1422, allocations: 4 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.49e-05/0.1422, allocations: 8 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1423, allocations: 0 / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.1423, allocations: 12.03 kB / 356 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1423, allocations: 4 kB / 356 MB, free: 15.15 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.116e-05/0.1424, allocations: 121.8 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.509e-05/0.1425, allocations: 49.62 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.1425, allocations: 11.88 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1426, allocations: 0 / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1426, allocations: 4 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1426, allocations: 64 / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.1427, allocations: 181.5 kB / 356.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1428, allocations: 0 / 356.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.1428, allocations: 11.98 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1428, allocations: 4 kB / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1428, allocations: 4 kB / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1429, allocations: 0 / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1429, allocations: 3.938 kB / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.1431, allocations: 185.1 kB / 356.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.1431, allocations: 93 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1432, allocations: 7.984 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.1432, allocations: 7.938 kB / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.1433, allocations: 144 / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1433, allocations: 0 / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.895e-05/0.1434, allocations: 117.8 kB / 356.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1434, allocations: 0 / 356.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1436, allocations: 4 kB / 356.8 MB, free: 14.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001156/0.1437, allocations: 107.1 kB / 356.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1439, allocations: 36.16 kB / 357 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1439, allocations: 4.062 kB / 357 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.627e-05/0.1439, allocations: 15.92 kB / 357 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1443, allocations: 31.95 kB / 357 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.1447, allocations: 202.8 kB / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.145, allocations: 0.6965 MB / 357.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.408e-05/0.145, allocations: 3.984 kB / 357.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1451, allocations: 11.44 kB / 357.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1451, allocations: 0 / 357.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Templates: time 0.003039/0.1481, allocations: 0.5787 MB / 358.5 MB, free: 12.51 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches