Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001937/0.001937, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.694/1.694, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.89 kB / 373.8 MB, free: 9.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1279, allocations: 53.31 MB / 427.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003393/0.1312, allocations: 1.601 MB / 428.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1325, allocations: 0.5571 MB / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1326, allocations: 7.938 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.748e-05/0.1327, allocations: 7.922 kB / 429.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1329, allocations: 15.88 kB / 429.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.1333, allocations: 67.73 kB / 429.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.1334, allocations: 43.8 kB / 429.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1336, allocations: 16.17 kB / 429.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1337, allocations: 31.84 kB / 429.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.1338, allocations: 23.86 kB / 429.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1338, allocations: 4 kB / 429.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.1338, allocations: 8 kB / 429.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.1339, allocations: 15.92 kB / 429.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.1339, allocations: 27.81 kB / 429.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1341, allocations: 59.67 kB / 429.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1341, allocations: 0 / 429.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1341, allocations: 0 / 429.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1341, allocations: 0 / 429.6 MB, free: 2.07 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.0005984/0.1347, allocations: 383.1 kB / 430 MB, free: 1.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1348, allocations: 8.031 kB / 430 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.135, allocations: 24.88 kB / 430 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.1353, allocations: 211 kB / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1353, allocations: 8.375 kB / 430.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1353, allocations: 3.938 kB / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.1357, allocations: 125.9 kB / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.1357, allocations: 0 / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1357, allocations: 0 / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.1357, allocations: 0 / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.353e-05/0.1358, allocations: 27.92 kB / 430.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1361, allocations: 270.6 kB / 430.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.1363, allocations: 67.78 kB / 430.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.991e-05/0.1363, allocations: 30.62 kB / 430.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1364, allocations: 4 kB / 430.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1364, allocations: 38.56 kB / 430.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1364, allocations: 0 / 430.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000285/0.1367, allocations: 89.45 kB / 430.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.1368, allocations: 107.2 kB / 431 MB, free: 476 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.137, allocations: 149.8 kB / 431.2 MB, free: 316 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.137, allocations: 25.7 kB / 431.2 MB, free: 284 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.137, allocations: 92.12 kB / 431.3 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.1371, allocations: 4 kB / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.1371, allocations: 17.67 kB / 431.3 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.1373, allocations: 322.8 kB / 431.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.773e-05/0.1373, allocations: 12 kB / 431.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.003e-05/0.1374, allocations: 39.36 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1375, allocations: 39.42 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1375, allocations: 4 kB / 431.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001523/0.1377, allocations: 73.55 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1377, allocations: 8 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1377, allocations: 3.938 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1377, allocations: 0 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.1378, allocations: 8 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.1378, allocations: 0 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.1378, allocations: 16.05 kB / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.1378, allocations: 4 kB / 431.8 MB, free: 15.6 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 9.613e-05/0.1379, allocations: 117.8 kB / 431.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.625e-05/0.138, allocations: 57.53 kB / 432 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.1381, allocations: 11.88 kB / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1381, allocations: 4 kB / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1381, allocations: 0 / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1381, allocations: 4.031 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.1383, allocations: 177.7 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1383, allocations: 4 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.1383, allocations: 8 kB / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1383, allocations: 3.938 kB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1384, allocations: 7.984 kB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1384, allocations: 0 / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1384, allocations: 0 / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1386, allocations: 181.1 kB / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.652e-05/0.1387, allocations: 97.05 kB / 432.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1387, allocations: 4 kB / 432.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.1388, allocations: 4 kB / 432.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.1388, allocations: 3.938 kB / 432.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1388, allocations: 0 / 432.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.776e-05/0.1389, allocations: 114.2 kB / 432.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1389, allocations: 0 / 432.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.1391, allocations: 15.94 kB / 432.6 MB, free: 14.69 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.0001438/0.1393, allocations: 95.25 kB / 432.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.1394, allocations: 35.91 kB / 432.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1395, allocations: 0 / 432.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.1395, allocations: 8 kB / 432.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1399, allocations: 31.2 kB / 432.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.1403, allocations: 196.2 kB / 433 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.1408, allocations: 0.6924 MB / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.256e-05/0.1408, allocations: 0 / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.1409, allocations: 15.38 kB / 433.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1409, allocations: 4 kB / 433.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of Templates: time 0.003616/0.1445, allocations: 0.6352 MB / 434.3 MB, free: 12.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.041773531585932]