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.001747/0.001747, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002383/0.002383, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.223/2.223, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001525, allocations: 64.16 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1272, allocations: 50.54 MB / 357.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003655/0.131, allocations: 1.683 MB / 359.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1322, allocations: 0.5687 MB / 359.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1324, allocations: 8 kB / 359.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/0.1325, allocations: 3.938 kB / 359.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1327, allocations: 7.938 kB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.1331, allocations: 59.88 kB / 360 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1333, allocations: 63.72 kB / 360 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1334, allocations: 24.19 kB / 360.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.1336, allocations: 39.84 kB / 360.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.1337, allocations: 23.86 kB / 360.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1337, allocations: 4 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.91e-05/0.1337, allocations: 8 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.1338, allocations: 11.94 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.086e-05/0.1339, allocations: 39.72 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.134, allocations: 59.86 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.134, allocations: 0 / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1341, allocations: 0 / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1341, allocations: 0 / 360.2 MB, free: 11.8 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.0005878/0.1347, allocations: 387.3 kB / 360.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1347, allocations: 12.03 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.1349, allocations: 20.73 kB / 360.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1352, allocations: 204 kB / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1352, allocations: 12.31 kB / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1352, allocations: 384 / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.1356, allocations: 139 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1356, allocations: 0 / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1356, allocations: 8 kB / 361 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1356, allocations: 0 / 361 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.923e-05/0.1357, allocations: 35.84 kB / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.1362, allocations: 291.3 kB / 361.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.1363, allocations: 94.42 kB / 361.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.1364, allocations: 39.48 kB / 361.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.1365, allocations: 11.97 kB / 361.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1365, allocations: 38.5 kB / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1365, allocations: 4 kB / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003253/0.1368, allocations: 93.52 kB / 361.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.1369, allocations: 140.5 kB / 361.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1371, allocations: 151.7 kB / 361.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1371, allocations: 30.2 kB / 361.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.1372, allocations: 96.14 kB / 362 MB, free: 9.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.1372, allocations: 0 / 362 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.1373, allocations: 25.61 kB / 362 MB, free: 9.715 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1374, allocations: 322.8 kB / 362.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/0.1375, allocations: 11.98 kB / 362.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.1376, allocations: 49.14 kB / 362.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1377, allocations: 65.02 kB / 362.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1377, allocations: 4 kB / 362.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001625/0.1379, allocations: 81.55 kB / 362.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1379, allocations: 8 kB / 362.6 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1379, allocations: 4.109 kB / 362.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1379, allocations: 0 / 362.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.138, allocations: 19.98 kB / 362.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.138, allocations: 0 / 362.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.1381, allocations: 16.09 kB / 362.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1381, allocations: 7.938 kB / 362.6 MB, free: 9.086 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.0001118/0.1382, allocations: 133.6 kB / 362.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1383, allocations: 65.53 kB / 362.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.1384, allocations: 19.81 kB / 362.8 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1384, allocations: 0 / 362.8 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1384, allocations: 4 kB / 362.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1384, allocations: 0 / 362.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.1386, allocations: 181.7 kB / 363 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1387, allocations: 0 / 363 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.1387, allocations: 15.98 kB / 363 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1387, allocations: 0 / 363 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.1388, allocations: 8 kB / 363 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1388, allocations: 0 / 363 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1388, allocations: 0 / 363 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.139, allocations: 197.9 kB / 363.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.1391, allocations: 100.9 kB / 363.3 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.1391, allocations: 3.938 kB / 363.3 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.1392, allocations: 8 kB / 363.3 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.1393, allocations: 3.984 kB / 363.3 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.1393, allocations: 7.984 kB / 363.4 MB, free: 8.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.496e-05/0.1394, allocations: 114.5 kB / 363.5 MB, free: 8.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1394, allocations: 4 kB / 363.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1396, allocations: 12 kB / 363.5 MB, free: 8.113 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.0001247/0.1398, allocations: 95.25 kB / 363.6 MB, free: 8.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.14, allocations: 47.84 kB / 363.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.14, allocations: 0 / 363.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.132e-05/0.14, allocations: 12.38 kB / 363.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.1405, allocations: 47.05 kB / 363.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.141, allocations: 267.7 kB / 363.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.1414, allocations: 0.7002 MB / 364.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.1414, allocations: 11.44 kB / 364.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1414, allocations: 0 / 364.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of Templates: time 0.002995/0.1444, allocations: 1.033 MB / 365.7 MB, free: 5.844 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/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