Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001785/0.001785, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.002015/0.002015, allocations: 188.3 kB / 21.39 MB, free: 1.688 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.417/1.417, allocations: 225.6 MB / 249.8 MB, free: 3.621 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 47.92 kB / 366.8 MB, free: 388 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09633/0.09786, allocations: 52.15 MB / 418.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002624/0.1005, allocations: 1.569 MB / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007988/0.1013, allocations: 0.4908 MB / 421 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.1013, allocations: 4 kB / 421 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.04e-05/0.1014, allocations: 7.922 kB / 421 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.1015, allocations: 19.86 kB / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.1017, allocations: 43.83 kB / 421.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.1018, allocations: 43.91 kB / 421.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.1019, allocations: 12.19 kB / 421.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.102, allocations: 27.8 kB / 421.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.1021, allocations: 19.91 kB / 421.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1021, allocations: 4 kB / 421.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.1021, allocations: 4 kB / 421.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.1021, allocations: 19.92 kB / 421.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.1022, allocations: 19.81 kB / 421.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1023, allocations: 63.67 kB / 421.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1023, allocations: 0 / 421.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1023, allocations: 0 / 421.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1023, allocations: 0 / 421.3 MB, free: 9.781 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.0004755/0.1028, allocations: 386.9 kB / 421.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.1028, allocations: 8.031 kB / 421.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1028, allocations: 8.891 kB / 421.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1031, allocations: 198.7 kB / 421.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1031, allocations: 4.375 kB / 421.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1031, allocations: 384 / 421.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.1033, allocations: 117.1 kB / 422 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1033, allocations: 4 kB / 422 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1034, allocations: 11.92 kB / 422 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1034, allocations: 0 / 422 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.1034, allocations: 19.92 kB / 422 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.1037, allocations: 257.8 kB / 422.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.281e-05/0.1038, allocations: 53.14 kB / 422.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.1039, allocations: 17.78 kB / 422.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1039, allocations: 4 kB / 422.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1039, allocations: 30.56 kB / 422.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1039, allocations: 0 / 422.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002303/0.1042, allocations: 69.66 kB / 422.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1042, allocations: 81.11 kB / 422.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1044, allocations: 141.8 kB / 422.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1044, allocations: 25.7 kB / 422.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.1044, allocations: 92.08 kB / 422.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.1044, allocations: 0 / 422.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.1045, allocations: 25.66 kB / 422.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1046, allocations: 318.9 kB / 423.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.1047, allocations: 15.98 kB / 423.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.1047, allocations: 17.66 kB / 423.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.1048, allocations: 29.7 kB / 423.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1048, allocations: 8 kB / 423.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001179/0.1049, allocations: 53.62 kB / 423.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1049, allocations: 4 kB / 423.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1049, allocations: 4 kB / 423.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1049, allocations: 3.984 kB / 423.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.105, allocations: 4 kB / 423.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.105, allocations: 0 / 423.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.595e-05/0.105, allocations: 4 kB / 423.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.105, allocations: 0 / 423.3 MB, free: 7.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.666e-05/0.1051, allocations: 125.8 kB / 423.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.1052, allocations: 37.66 kB / 423.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.1052, allocations: 19.8 kB / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1052, allocations: 0 / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1052, allocations: 0 / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1052, allocations: 0 / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.1054, allocations: 181.5 kB / 423.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1054, allocations: 0 / 423.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.1055, allocations: 4 kB / 423.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1055, allocations: 4.031 kB / 423.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.1055, allocations: 0 / 423.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1055, allocations: 4 kB / 423.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1055, allocations: 0 / 423.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.1057, allocations: 160.3 kB / 423.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.1057, allocations: 93.05 kB / 423.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1057, allocations: 4.031 kB / 423.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/0.1058, allocations: 0 / 423.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.1058, allocations: 11.92 kB / 423.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1058, allocations: 0 / 423.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.201e-05/0.1059, allocations: 113.1 kB / 424 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1059, allocations: 0 / 424 MB, free: 6.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.1061, allocations: 8 kB / 424 MB, free: 6.684 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001039/0.1062, allocations: 103.7 kB / 424.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.1064, allocations: 23.98 kB / 424.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1064, allocations: 0 / 424.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.1064, allocations: 7.938 kB / 424.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.1067, allocations: 23.95 kB / 424.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.107, allocations: 185.4 kB / 424.3 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.1073, allocations: 0.6961 MB / 425 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.1074, allocations: 11.44 kB / 425.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1074, allocations: 0 / 425.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of Templates: time 0.002181/0.1095, allocations: 0.7646 MB / 425.8 MB, free: 4.812 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.589644341962412]