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.001455/0.001455, allocations: 110.7 kB / 16.63 MB, free: 6.945 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.001606/0.001606, allocations: 193.8 kB / 17.55 MB, free: 6.043 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.446/1.446, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 47.05 kB / 300.1 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1295, allocations: 49.45 MB / 349.6 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004578/0.1342, allocations: 1.667 MB / 351.2 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1357, allocations: 0.5065 MB / 351.7 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1358, allocations: 4 kB / 351.8 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.171e-05/0.1359, allocations: 3.938 kB / 351.8 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.1361, allocations: 19.91 kB / 351.8 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1364, allocations: 43.91 kB / 351.8 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1366, allocations: 63.72 kB / 351.9 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1367, allocations: 15.98 kB / 351.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.292e-05/0.1368, allocations: 27.86 kB / 351.9 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.1369, allocations: 31.86 kB / 352 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1369, allocations: 4 kB / 352 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.606e-05/0.1369, allocations: 4 kB / 352 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.137, allocations: 15.92 kB / 352 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.1371, allocations: 31.73 kB / 352 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1372, allocations: 63.73 kB / 352.1 MB, free: 2.242 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1372, allocations: 4 kB / 352.1 MB, free: 2.238 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1372, allocations: 0 / 352.1 MB, free: 2.238 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1372, allocations: 0 / 352.1 MB, free: 2.238 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.0005525/0.1378, allocations: 391.3 kB / 352.5 MB, free: 1.809 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1379, allocations: 15.83 kB / 352.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.1379, allocations: 16.75 kB / 352.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1382, allocations: 204 kB / 352.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1382, allocations: 8.375 kB / 352.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1382, allocations: 384 / 352.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.1386, allocations: 143 kB / 352.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1387, allocations: 0 / 352.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.1387, allocations: 8 kB / 352.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1387, allocations: 0 / 352.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1388, allocations: 27.92 kB / 352.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007196/0.1395, allocations: 283.5 kB / 353.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1397, allocations: 94.42 kB / 353.2 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1399, allocations: 47.42 kB / 353.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.1399, allocations: 4 kB / 353.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.14, allocations: 34.56 kB / 353.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.14, allocations: 0 / 353.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004024/0.1404, allocations: 105.4 kB / 353.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.1405, allocations: 136.5 kB / 353.6 MB, free: 500 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1408, allocations: 144.1 kB / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.1408, allocations: 29.7 kB / 353.7 MB, free: 308 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.1409, allocations: 96.56 kB / 353.8 MB, free: 208 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1409, allocations: 15.91 kB / 353.8 MB, free: 192 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.141, allocations: 17.72 kB / 353.9 MB, free: 168 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002647/0.1413, allocations: 318.8 kB / 354.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.1413, allocations: 12 kB / 354.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.1414, allocations: 45.14 kB / 354.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1416, allocations: 69.2 kB / 354.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1416, allocations: 4 kB / 354.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002096/0.1418, allocations: 89.45 kB / 354.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.1419, allocations: 4 kB / 354.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.1419, allocations: 0 / 354.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.1419, allocations: 7.984 kB / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.142, allocations: 15.88 kB / 354.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.1421, allocations: 7.984 kB / 354.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.1421, allocations: 4.188 kB / 354.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1421, allocations: 7.984 kB / 354.4 MB, free: 15.54 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.0001466/0.1423, allocations: 129.7 kB / 354.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.1424, allocations: 61.53 kB / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.1425, allocations: 11.88 kB / 354.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1425, allocations: 4 kB / 354.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1425, allocations: 0 / 354.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1425, allocations: 3.984 kB / 354.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.1428, allocations: 189.4 kB / 354.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1428, allocations: 8.094 kB / 354.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.1429, allocations: 15.92 kB / 354.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.1429, allocations: 4 kB / 354.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1429, allocations: 0 / 354.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1429, allocations: 0 / 354.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1429, allocations: 4 kB / 354.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1432, allocations: 194 kB / 355 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.1433, allocations: 101 kB / 355.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.1433, allocations: 0 / 355.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.1434, allocations: 7.938 kB / 355.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1434, allocations: 0 / 355.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1434, allocations: 4 kB / 355.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.257e-05/0.1435, allocations: 118.9 kB / 355.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1436, allocations: 4 kB / 355.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1438, allocations: 8 kB / 355.3 MB, free: 14.58 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.0002057/0.144, allocations: 107.2 kB / 355.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1443, allocations: 39.92 kB / 355.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1443, allocations: 0 / 355.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.1443, allocations: 16.3 kB / 355.4 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.0006118/0.1449, allocations: 51.12 kB / 355.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.1457, allocations: 241.8 kB / 355.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.1463, allocations: 0.6924 MB / 356.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.76e-05/0.1463, allocations: 4.672 kB / 356.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.1464, allocations: 19.42 kB / 356.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of SimCode: time 2.985e-06/0.1464, allocations: 0 / 356.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of Templates: time 0.004362/0.1508, allocations: 0.8154 MB / 357.3 MB, free: 12.55 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