Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002298/0.002298, allocations: 186.9 kB / 21.34 MB, free: 1.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 247.1 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 47.92 kB / 358.7 MB, free: 8.453 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1045, allocations: 49.44 MB / 408.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003039/0.1076, allocations: 1.578 MB / 409.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.1086, allocations: 494.6 kB / 410.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.1087, allocations: 0 / 410.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.147e-05/0.1088, allocations: 3.938 kB / 410.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.109, allocations: 15.88 kB / 410.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.1093, allocations: 43.83 kB / 410.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1094, allocations: 59.77 kB / 410.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1096, allocations: 16.19 kB / 410.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.703e-05/0.1096, allocations: 19.92 kB / 410.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.1097, allocations: 19.86 kB / 410.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1097, allocations: 4 kB / 410.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.1098, allocations: 4 kB / 410.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.1098, allocations: 19.91 kB / 410.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.1099, allocations: 19.81 kB / 410.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.11, allocations: 67.67 kB / 410.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1101, allocations: 0 / 410.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1101, allocations: 0 / 410.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1101, allocations: 0 / 410.5 MB, free: 4.602 MB / 334.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.0006097/0.1107, allocations: 379.1 kB / 410.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1107, allocations: 11.89 kB / 410.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.1108, allocations: 8.891 kB / 410.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1111, allocations: 212.9 kB / 411.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1111, allocations: 4.375 kB / 411.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1111, allocations: 384 / 411.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.1115, allocations: 122 kB / 411.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1115, allocations: 0 / 411.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1115, allocations: 4 kB / 411.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1115, allocations: 7.938 kB / 411.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.1116, allocations: 23.92 kB / 411.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.112, allocations: 270.6 kB / 411.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1122, allocations: 75.78 kB / 411.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.1122, allocations: 34.62 kB / 411.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1123, allocations: 3.938 kB / 411.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1123, allocations: 34.56 kB / 411.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.966e-06/0.1123, allocations: 3.984 kB / 411.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002983/0.1126, allocations: 81.56 kB / 411.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.666e-05/0.1127, allocations: 114.8 kB / 411.8 MB, free: 3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1129, allocations: 139.9 kB / 412 MB, free: 2.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1129, allocations: 26.08 kB / 412 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.113, allocations: 104.1 kB / 412.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.113, allocations: 3.953 kB / 412.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.1131, allocations: 21.7 kB / 412.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1133, allocations: 318.8 kB / 412.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.1133, allocations: 11.98 kB / 412.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.1134, allocations: 31.42 kB / 412.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1135, allocations: 55.36 kB / 412.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1135, allocations: 0 / 412.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001553/0.1137, allocations: 69.64 kB / 412.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1137, allocations: 8 kB / 412.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1137, allocations: 0 / 412.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1137, allocations: 0 / 412.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.1138, allocations: 15.92 kB / 412.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1138, allocations: 4 kB / 412.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.1139, allocations: 0 / 412.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1139, allocations: 4 kB / 412.6 MB, free: 2.141 MB / 334.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.0001051/0.114, allocations: 125.7 kB / 412.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.1141, allocations: 53.66 kB / 412.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.1142, allocations: 15.86 kB / 412.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1142, allocations: 4 kB / 412.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1142, allocations: 0 / 412.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1142, allocations: 0 / 412.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.1144, allocations: 173.6 kB / 413 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1144, allocations: 0 / 413 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.1145, allocations: 11.98 kB / 413 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1145, allocations: 0 / 413 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1145, allocations: 4.062 kB / 413 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1145, allocations: 8 kB / 413 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1145, allocations: 0 / 413 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.1148, allocations: 177.1 kB / 413.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.1148, allocations: 96.98 kB / 413.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1149, allocations: 4 kB / 413.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.1149, allocations: 7.984 kB / 413.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.115, allocations: 4 kB / 413.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.115, allocations: 0 / 413.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1151, allocations: 114 kB / 413.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1151, allocations: 0 / 413.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1153, allocations: 8 kB / 413.4 MB, free: 1.242 MB / 334.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.0001109/0.1155, allocations: 99.19 kB / 413.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.1156, allocations: 35.92 kB / 413.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1156, allocations: 0 / 413.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.1157, allocations: 11.98 kB / 413.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.116, allocations: 34.39 kB / 413.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.1165, allocations: 214.7 kB / 413.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1168, allocations: 0.6922 MB / 414.5 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.1169, allocations: 15.42 kB / 414.5 MB, free: 76 kB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1169, allocations: 0 / 414.5 MB, free: 76 kB / 334.1 MB Notification: Performance of Templates: time 0.002768/0.1197, allocations: 0.8326 MB / 415.3 MB, free: 15.25 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.961952101089992]