Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008937, allocations: 92.95 kB / 16.65 MB, free: 6.602 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.0008684/0.0008685, allocations: 172.7 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.585/1.585, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002793, allocations: 11.94 kB / 301.4 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 50.41 MB / 351.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002567/0.1433, allocations: 1.323 MB / 353.2 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1448, allocations: 0.5026 MB / 353.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.145, allocations: 4 kB / 353.7 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.48e-05/0.1451, allocations: 11.92 kB / 353.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1453, allocations: 3.938 kB / 353.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.1458, allocations: 47.89 kB / 353.7 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.146, allocations: 59.73 kB / 353.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.1462, allocations: 19.97 kB / 353.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1463, allocations: 23.86 kB / 353.8 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.767e-05/0.1464, allocations: 19.88 kB / 353.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.1464, allocations: 0 / 353.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.564e-05/0.1465, allocations: 4 kB / 353.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.905e-05/0.1466, allocations: 19.91 kB / 353.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.622e-05/0.1467, allocations: 53.45 kB / 353.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1469, allocations: 67.64 kB / 354 MB, free: 1.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.1469, allocations: 0 / 354 MB, free: 1.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.1469, allocations: 0 / 354 MB, free: 1.297 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1469, allocations: 4 kB / 354 MB, free: 1.293 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001007/0.1479, allocations: 371.5 kB / 354.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.751e-05/0.148, allocations: 8.031 kB / 354.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.1481, allocations: 12.75 kB / 354.4 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.1485, allocations: 204 kB / 354.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.1486, allocations: 384 / 354.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.1486, allocations: 8.375 kB / 354.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.1492, allocations: 147 kB / 354.7 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1492, allocations: 0 / 354.7 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1492, allocations: 0 / 354.7 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.1493, allocations: 0 / 354.7 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1494, allocations: 39.91 kB / 354.8 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.15, allocations: 283.5 kB / 355.1 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1502, allocations: 98.34 kB / 355.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1503, allocations: 47.44 kB / 355.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.1504, allocations: 11.97 kB / 355.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.1504, allocations: 38.56 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.1504, allocations: 0 / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000379/0.1508, allocations: 105.5 kB / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.1509, allocations: 140.9 kB / 355.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1511, allocations: 146.5 kB / 355.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1512, allocations: 29.69 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1513, allocations: 92.14 kB / 355.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.1513, allocations: 3.906 kB / 355.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.1514, allocations: 13.72 kB / 355.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1516, allocations: 326.8 kB / 356.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.1516, allocations: 15.98 kB / 356.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/0.1517, allocations: 45.16 kB / 356.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1518, allocations: 73.06 kB / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1519, allocations: 0 / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001832/0.152, allocations: 89.47 kB / 356.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1521, allocations: 7.984 kB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1521, allocations: 4 kB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.1521, allocations: 0 / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1522, allocations: 15.94 kB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1523, allocations: 4 kB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.1523, allocations: 7.984 kB / 356.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1523, allocations: 7.922 kB / 356.3 MB, free: 14.6 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 0.000123/0.1525, allocations: 130 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1526, allocations: 61.53 kB / 356.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.1527, allocations: 19.86 kB / 356.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1527, allocations: 4 kB / 356.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1527, allocations: 0 / 356.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1527, allocations: 128 / 356.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.1529, allocations: 185.5 kB / 356.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.153, allocations: 4 kB / 356.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.725e-05/0.153, allocations: 16.03 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.153, allocations: 4 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1531, allocations: 0 / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1531, allocations: 7.984 kB / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1531, allocations: 0 / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1533, allocations: 209.8 kB / 357 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.133e-05/0.1534, allocations: 93 kB / 357.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1535, allocations: 4 kB / 357.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.1536, allocations: 0 / 357.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.1536, allocations: 4 kB / 357.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1536, allocations: 7.922 kB / 357.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.315e-05/0.1537, allocations: 117.5 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1537, allocations: 4 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.154, allocations: 4 kB / 357.2 MB, free: 13.63 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0001774/0.1542, allocations: 111.2 kB / 357.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.1543, allocations: 39.92 kB / 357.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1544, allocations: 4.375 kB / 357.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.449e-05/0.1544, allocations: 19.92 kB / 357.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.1549, allocations: 38.72 kB / 357.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.1554, allocations: 239.8 kB / 357.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1557, allocations: 0.6965 MB / 358.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.538e-05/0.1557, allocations: 8.656 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.1558, allocations: 7.438 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1558, allocations: 8 kB / 358.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Templates: time 0.00411/0.1599, allocations: 0.7605 MB / 359.1 MB, free: 11.65 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches