Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 114.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.653/1.653, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 47.94 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1318, allocations: 53.32 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.004227/0.136, allocations: 1.595 MB / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1373, allocations: 0.5609 MB / 429.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1374, allocations: 7.938 kB / 429.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.02e-05/0.1375, allocations: 11.88 kB / 429.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1376, allocations: 7.938 kB / 429.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.1381, allocations: 63.75 kB / 429.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1382, allocations: 51.83 kB / 429.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1383, allocations: 12.12 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.1385, allocations: 27.92 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.1386, allocations: 27.84 kB / 429.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1386, allocations: 0 / 429.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.417e-05/0.1386, allocations: 8 kB / 429.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.1387, allocations: 19.92 kB / 429.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.1387, allocations: 23.81 kB / 429.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1389, allocations: 59.67 kB / 430 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.1389, allocations: 7.938 kB / 430 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1389, allocations: 0 / 430 MB, free: 1.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1389, allocations: 0 / 430 MB, free: 1.789 MB / 350.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.0006069/0.1395, allocations: 383 kB / 430.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1396, allocations: 12.03 kB / 430.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.1397, allocations: 16.89 kB / 430.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.1401, allocations: 208.7 kB / 430.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1401, allocations: 4.375 kB / 430.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1401, allocations: 7.938 kB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.1404, allocations: 121.9 kB / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1405, allocations: 0 / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1405, allocations: 0 / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1405, allocations: 3.984 kB / 430.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.1406, allocations: 23.92 kB / 430.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.1409, allocations: 278.6 kB / 431 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1411, allocations: 59.8 kB / 431.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/0.1411, allocations: 38.56 kB / 431.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1412, allocations: 4 kB / 431.1 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1412, allocations: 34.56 kB / 431.1 MB, free: 420 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.1412, allocations: 4 kB / 431.1 MB, free: 416 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003016/0.1415, allocations: 85.5 kB / 431.2 MB, free: 324 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.1416, allocations: 115.1 kB / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1417, allocations: 148 kB / 431.5 MB, free: 28 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.1418, allocations: 25.7 kB / 431.5 MB, free: 16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.1418, allocations: 88.12 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.1419, allocations: 8 kB / 431.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.1419, allocations: 17.67 kB / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.142, allocations: 318.8 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/0.1421, allocations: 8 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.1421, allocations: 39.36 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.627e-05/0.1422, allocations: 47.36 kB / 432 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1422, allocations: 4 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001457/0.1424, allocations: 69.61 kB / 432.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1424, allocations: 4 kB / 432.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.1424, allocations: 7.938 kB / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1424, allocations: 0 / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.1425, allocations: 15.92 kB / 432.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1425, allocations: 0 / 432.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.1426, allocations: 7.938 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1426, allocations: 4.125 kB / 432.1 MB, free: 15.32 MB / 366.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 0.0001049/0.1427, allocations: 121.8 kB / 432.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.1428, allocations: 57.53 kB / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.1428, allocations: 11.88 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1428, allocations: 0 / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.1428, allocations: 7.984 kB / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1428, allocations: 3.938 kB / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.1431, allocations: 169.7 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1431, allocations: 4.062 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/0.1431, allocations: 11.98 kB / 432.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1431, allocations: 0 / 432.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1431, allocations: 0 / 432.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1431, allocations: 4 kB / 432.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1431, allocations: 4 kB / 432.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.1434, allocations: 185.1 kB / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.1434, allocations: 93.05 kB / 432.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.1434, allocations: 4 kB / 432.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1435, allocations: 0 / 432.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1436, allocations: 11.92 kB / 432.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1436, allocations: 0 / 432.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.749e-05/0.1436, allocations: 110.5 kB / 432.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1436, allocations: 0 / 432.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.1439, allocations: 8 kB / 432.9 MB, free: 14.42 MB / 366.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.0001375/0.144, allocations: 103.2 kB / 433 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.1442, allocations: 31.92 kB / 433.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1442, allocations: 0 / 433.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.1442, allocations: 7.984 kB / 433.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.1446, allocations: 38.58 kB / 433.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.1451, allocations: 210 kB / 433.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.1455, allocations: 0.6924 MB / 434 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.013e-05/0.1455, allocations: 11.44 kB / 434 MB, free: 13.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1455, allocations: 3.938 kB / 434 MB, free: 13.26 MB / 366.1 MB Notification: Performance of Templates: time 0.002771/0.1483, allocations: 0.8608 MB / 434.9 MB, free: 12.4 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.384503548993962]