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.001394/0.001394, allocations: 111.8 kB / 19.18 MB, free: 3.887 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.00159/0.00159, allocations: 208.9 kB / 22.13 MB, free: 0.9375 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.573/1.573, allocations: 230.2 MB / 255.2 MB, free: 15.27 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.0019/0.0019, allocations: 67.88 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1056, allocations: 53.31 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003259/0.1088, allocations: 1.609 MB / 429.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.11, allocations: 0.561 MB / 430 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.005e-05/0.1101, allocations: 0 / 430 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.568e-05/0.1101, allocations: 11.88 kB / 430 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.1103, allocations: 11.94 kB / 430 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1106, allocations: 63.75 kB / 430.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.1107, allocations: 47.78 kB / 430.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1109, allocations: 16.17 kB / 430.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.111, allocations: 27.92 kB / 430.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.652e-05/0.1111, allocations: 19.86 kB / 430.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1111, allocations: 4 kB / 430.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.1111, allocations: 4 kB / 430.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.1112, allocations: 23.86 kB / 430.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.1112, allocations: 31.8 kB / 430.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1114, allocations: 63.61 kB / 430.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1114, allocations: 0 / 430.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1114, allocations: 0 / 430.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1114, allocations: 0 / 430.3 MB, free: 2.004 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.0005542/0.1119, allocations: 387 kB / 430.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.112, allocations: 8.031 kB / 430.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.1121, allocations: 16.89 kB / 430.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.1124, allocations: 207.5 kB / 430.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1124, allocations: 8.375 kB / 430.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.1125, allocations: 3.938 kB / 430.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.1127, allocations: 117.9 kB / 431.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1128, allocations: 3.938 kB / 431.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1128, allocations: 0 / 431.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1128, allocations: 4 kB / 431.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.629e-05/0.1129, allocations: 19.98 kB / 431.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.1132, allocations: 278.5 kB / 431.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.1134, allocations: 67.78 kB / 431.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.365e-05/0.1135, allocations: 30.62 kB / 431.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1135, allocations: 4 kB / 431.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1136, allocations: 38.56 kB / 431.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1136, allocations: 0 / 431.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000292/0.1139, allocations: 93.44 kB / 431.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.1139, allocations: 103.2 kB / 431.7 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1141, allocations: 149.8 kB / 431.8 MB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1141, allocations: 25.7 kB / 431.9 MB, free: 224 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.1142, allocations: 92.12 kB / 431.9 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.1142, allocations: 4 kB / 432 MB, free: 124 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.1142, allocations: 17.67 kB / 432 MB, free: 100 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1144, allocations: 322.8 kB / 432.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.1144, allocations: 4 kB / 432.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.1145, allocations: 39.42 kB / 432.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1146, allocations: 43.36 kB / 432.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1146, allocations: 4 kB / 432.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001547/0.1148, allocations: 73.55 kB / 432.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1148, allocations: 8 kB / 432.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1148, allocations: 3.938 kB / 432.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1148, allocations: 0 / 432.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.1149, allocations: 11.98 kB / 432.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1149, allocations: 4 kB / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.1149, allocations: 7.938 kB / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.115, allocations: 7.938 kB / 432.5 MB, free: 15.54 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.985e-05/0.1151, allocations: 121.9 kB / 432.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1152, allocations: 61.53 kB / 432.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.1152, allocations: 7.875 kB / 432.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1152, allocations: 4 kB / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1152, allocations: 3.984 kB / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1152, allocations: 3.938 kB / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.1154, allocations: 169.8 kB / 432.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1154, allocations: 0 / 432.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.1155, allocations: 20.03 kB / 432.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1155, allocations: 0 / 432.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.1155, allocations: 4 kB / 432.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1155, allocations: 0 / 432.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.1155, allocations: 3.938 kB / 432.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1157, allocations: 181.1 kB / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/0.1158, allocations: 97.05 kB / 433.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1158, allocations: 0 / 433.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.1159, allocations: 4 kB / 433.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.116, allocations: 3.938 kB / 433.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.116, allocations: 3.984 kB / 433.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.546e-05/0.1161, allocations: 109.9 kB / 433.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1161, allocations: 0 / 433.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.1163, allocations: 12 kB / 433.3 MB, free: 14.63 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.0001281/0.1164, allocations: 103.2 kB / 433.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.1166, allocations: 27.92 kB / 433.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1166, allocations: 0 / 433.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/0.1166, allocations: 15.92 kB / 433.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.117, allocations: 30.7 kB / 433.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.1174, allocations: 218.4 kB / 433.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1178, allocations: 0.6885 MB / 434.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.1179, allocations: 11.44 kB / 434.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1179, allocations: 3.938 kB / 434.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of Templates: time 0.002659/0.1205, allocations: 0.8592 MB / 435.2 MB, free: 12.62 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.741594111081213]