Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001628, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 246.4 MB, free: 9.105 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 59.75 kB / 306.4 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1419, allocations: 50.53 MB / 357 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004962/0.1469, allocations: 1.69 MB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1484, allocations: 0.5649 MB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.1486, allocations: 7.938 kB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.872e-05/0.1488, allocations: 7.922 kB / 359.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.1491, allocations: 11.94 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.1497, allocations: 55.88 kB / 359.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1499, allocations: 59.78 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.1501, allocations: 24.16 kB / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.1503, allocations: 27.92 kB / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.1504, allocations: 31.84 kB / 359.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.1505, allocations: 8 kB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.137e-05/0.1505, allocations: 4 kB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.1506, allocations: 19.86 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.1507, allocations: 35.73 kB / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1509, allocations: 71.73 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1509, allocations: 0 / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1509, allocations: 0 / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1509, allocations: 0 / 359.6 MB, free: 11.55 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000609/0.1515, allocations: 395.3 kB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.1516, allocations: 12.03 kB / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.1518, allocations: 24.73 kB / 360 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1521, allocations: 204 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1521, allocations: 4.375 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1521, allocations: 4.375 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.1525, allocations: 147 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.1525, allocations: 0 / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1525, allocations: 3.938 kB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1526, allocations: 0 / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1527, allocations: 27.92 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.1531, allocations: 291.4 kB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1533, allocations: 94.36 kB / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.731e-05/0.1534, allocations: 51.48 kB / 360.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1534, allocations: 0 / 360.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1535, allocations: 34.55 kB / 360.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.755e-06/0.1535, allocations: 4 kB / 360.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003485/0.1539, allocations: 105.5 kB / 361 MB, free: 9.945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.165e-05/0.154, allocations: 132.5 kB / 361.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.1541, allocations: 153.3 kB / 361.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1541, allocations: 25.7 kB / 361.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.1542, allocations: 96.62 kB / 361.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.1542, allocations: 4 kB / 361.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.1543, allocations: 29.61 kB / 361.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1544, allocations: 318.8 kB / 361.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.1544, allocations: 15.98 kB / 361.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.1545, allocations: 45.14 kB / 361.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.1547, allocations: 65.08 kB / 361.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.1547, allocations: 4 kB / 361.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001862/0.1549, allocations: 85.48 kB / 361.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1549, allocations: 8 kB / 361.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.1549, allocations: 3.984 kB / 361.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1549, allocations: 4 kB / 361.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.155, allocations: 8 kB / 361.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.1551, allocations: 7.984 kB / 361.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.1551, allocations: 3.906 kB / 361.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1551, allocations: 4.188 kB / 362 MB, free: 8.848 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.0001002/0.1552, allocations: 133.7 kB / 362.1 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/0.1553, allocations: 65.53 kB / 362.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.1554, allocations: 23.75 kB / 362.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1554, allocations: 0 / 362.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1554, allocations: 8.062 kB / 362.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1554, allocations: 0 / 362.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1556, allocations: 193.5 kB / 362.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1556, allocations: 8.094 kB / 362.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.929e-05/0.1557, allocations: 11.98 kB / 362.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1557, allocations: 0 / 362.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1557, allocations: 4 kB / 362.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1557, allocations: 0 / 362.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.1557, allocations: 4 kB / 362.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.156, allocations: 197.9 kB / 362.6 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1561, allocations: 100.9 kB / 362.7 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1562, allocations: 0 / 362.7 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.1563, allocations: 4 kB / 362.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.1563, allocations: 3.984 kB / 362.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1563, allocations: 4 kB / 362.7 MB, free: 7.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.815e-05/0.1564, allocations: 115.2 kB / 362.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1564, allocations: 0 / 362.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1567, allocations: 12 kB / 362.8 MB, free: 7.863 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.0001275/0.1568, allocations: 95.25 kB / 362.9 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.157, allocations: 47.84 kB / 363 MB, free: 7.715 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.157, allocations: 4 kB / 363 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.157, allocations: 8.375 kB / 363 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.1575, allocations: 42.56 kB / 363 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.158, allocations: 241.8 kB / 363.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1583, allocations: 0.6963 MB / 363.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.791e-05/0.1584, allocations: 4.672 kB / 364 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.1585, allocations: 15.44 kB / 364 MB, free: 6.648 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1585, allocations: 0 / 364 MB, free: 6.648 MB / 302.1 MB Notification: Performance of Templates: time 0.004599/0.1631, allocations: 0.8302 MB / 364.8 MB, free: 5.836 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches