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) 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001296, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 64.39 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1053, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003146/0.1085, allocations: 1.587 MB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1095, allocations: 0.5493 MB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.269e-05/0.1096, allocations: 0 / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.332e-05/0.1097, allocations: 7.875 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.1099, allocations: 19.91 kB / 361.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1103, allocations: 63.69 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1104, allocations: 47.86 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1105, allocations: 16.16 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1106, allocations: 27.91 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.1107, allocations: 27.8 kB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1107, allocations: 8 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.655e-05/0.1108, allocations: 4 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.1108, allocations: 11.94 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.1109, allocations: 27.8 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.111, allocations: 71.67 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.111, allocations: 0 / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1111, allocations: 0 / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1111, allocations: 0 / 361.4 MB, free: 10.85 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005535/0.1116, allocations: 387 kB / 361.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1117, allocations: 8.031 kB / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.1118, allocations: 20.83 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1121, allocations: 204.3 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1122, allocations: 384 / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.1122, allocations: 7.938 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.1125, allocations: 121.9 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1125, allocations: 0 / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1126, allocations: 0 / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.1126, allocations: 0 / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1127, allocations: 23.92 kB / 362.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.113, allocations: 286.5 kB / 362.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1132, allocations: 63.84 kB / 362.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.1132, allocations: 38.56 kB / 362.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.1133, allocations: 8 kB / 362.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1133, allocations: 30.56 kB / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1133, allocations: 0 / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002886/0.1136, allocations: 85.52 kB / 362.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.1137, allocations: 111.1 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1139, allocations: 149.7 kB / 362.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1139, allocations: 29.64 kB / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.114, allocations: 96.05 kB / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.114, allocations: 3.984 kB / 363 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.114, allocations: 21.7 kB / 363 MB, free: 8.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1141, allocations: 314.8 kB / 363.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.641e-05/0.1142, allocations: 15.98 kB / 363.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.407e-05/0.1143, allocations: 35.42 kB / 363.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.034e-05/0.1144, allocations: 47.36 kB / 363.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1144, allocations: 4 kB / 363.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001286/0.1145, allocations: 65.53 kB / 363.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1146, allocations: 4 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1146, allocations: 4 kB / 363.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.1146, allocations: 4 kB / 363.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.1147, allocations: 15.86 kB / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1147, allocations: 4 kB / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.1148, allocations: 12.06 kB / 363.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1148, allocations: 4 kB / 363.5 MB, free: 8.367 MB / 302.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.0001071/0.1149, allocations: 121.8 kB / 363.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.115, allocations: 53.55 kB / 363.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.115, allocations: 15.86 kB / 363.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.115, allocations: 0 / 363.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.115, allocations: 0 / 363.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1151, allocations: 3.938 kB / 363.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.1153, allocations: 173.7 kB / 363.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1153, allocations: 0 / 363.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/0.1153, allocations: 11.98 kB / 363.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1153, allocations: 0 / 363.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1154, allocations: 4.094 kB / 363.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1154, allocations: 0 / 363.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1154, allocations: 0 / 363.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1156, allocations: 193 kB / 364.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.1157, allocations: 89 kB / 364.2 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1157, allocations: 3.984 kB / 364.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.1158, allocations: 4 kB / 364.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.1158, allocations: 7.938 kB / 364.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1158, allocations: 4 kB / 364.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.841e-05/0.116, allocations: 114.2 kB / 364.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.116, allocations: 0 / 364.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1162, allocations: 12 kB / 364.3 MB, free: 7.465 MB / 302.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.0001392/0.1163, allocations: 95.25 kB / 364.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.1165, allocations: 35.91 kB / 364.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1165, allocations: 4 kB / 364.5 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.1166, allocations: 4 kB / 364.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.117, allocations: 28.08 kB / 364.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.1174, allocations: 192.2 kB / 364.7 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1177, allocations: 0.6924 MB / 365.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.811e-05/0.1177, allocations: 4 kB / 365.4 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.1177, allocations: 11.44 kB / 365.4 MB, free: 6.344 MB / 302.1 MB Notification: Performance of SimCode: time 1.823e-06/0.1178, allocations: 7.938 kB / 365.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of Templates: time 0.003649/0.1214, allocations: 0.6439 MB / 366 MB, free: 5.703 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches