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.00172/0.00172, allocations: 120 kB / 17.73 MB, free: 5.188 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.00195/0.00195, allocations: 186.9 kB / 20.68 MB, free: 2.25 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.539/1.539, allocations: 222.9 MB / 246.4 MB, free: 4.199 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 55.91 kB / 357.5 MB, free: 8.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1073, allocations: 49.43 MB / 406.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003079/0.1104, allocations: 1.555 MB / 408.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000993/0.1114, allocations: 490.6 kB / 408.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.1115, allocations: 4 kB / 408.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.1116, allocations: 7.875 kB / 409 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.1117, allocations: 15.91 kB / 409 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.112, allocations: 51.83 kB / 409 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.1121, allocations: 43.8 kB / 409.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1123, allocations: 24.16 kB / 409.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.1123, allocations: 27.84 kB / 409.1 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.1124, allocations: 15.88 kB / 409.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.1124, allocations: 4 kB / 409.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.1125, allocations: 8 kB / 409.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.1125, allocations: 15.92 kB / 409.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.1126, allocations: 27.81 kB / 409.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1127, allocations: 55.95 kB / 409.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1127, allocations: 0 / 409.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1127, allocations: 0 / 409.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1127, allocations: 0 / 409.2 MB, free: 5.023 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.0005215/0.1133, allocations: 387 kB / 409.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1133, allocations: 8.031 kB / 409.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.1134, allocations: 38.75 kB / 409.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.1134, allocations: 8.891 kB / 409.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.1137, allocations: 208.1 kB / 409.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1137, allocations: 384 / 409.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.1137, allocations: 8.375 kB / 409.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.114, allocations: 112.9 kB / 410 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.114, allocations: 0 / 410 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.114, allocations: 0 / 410 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.1141, allocations: 0 / 410 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.1141, allocations: 19.98 kB / 410 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.1145, allocations: 265.7 kB / 410.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.089e-05/0.1146, allocations: 37.22 kB / 410.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.1147, allocations: 25.77 kB / 410.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1147, allocations: 0 / 410.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1147, allocations: 34.5 kB / 410.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1147, allocations: 0 / 410.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002565/0.115, allocations: 81.5 kB / 410.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.1151, allocations: 77.11 kB / 410.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.1152, allocations: 144.7 kB / 410.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1152, allocations: 25.7 kB / 410.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.1153, allocations: 88.14 kB / 410.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.1153, allocations: 4 kB / 410.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.1154, allocations: 21.92 kB / 410.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1155, allocations: 322.8 kB / 411.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.185e-05/0.1156, allocations: 4 kB / 411.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.283e-05/0.1156, allocations: 21.7 kB / 411.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.612e-05/0.1157, allocations: 37.7 kB / 411.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1157, allocations: 0 / 411.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.1159, allocations: 53.69 kB / 411.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1159, allocations: 4 kB / 411.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1159, allocations: 0 / 411.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1159, allocations: 0 / 411.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.116, allocations: 15.92 kB / 411.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.116, allocations: 0 / 411.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.116, allocations: 0 / 411.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1161, allocations: 8.062 kB / 411.3 MB, free: 2.73 MB / 334.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 9.504e-05/0.1162, allocations: 121.8 kB / 411.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.1162, allocations: 41.59 kB / 411.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.1163, allocations: 7.875 kB / 411.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1163, allocations: 0 / 411.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1163, allocations: 4 kB / 411.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1163, allocations: 0 / 411.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.1165, allocations: 173.5 kB / 411.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1165, allocations: 3.984 kB / 411.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.1165, allocations: 12.03 kB / 411.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1166, allocations: 0 / 411.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1166, allocations: 0 / 411.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1166, allocations: 3.938 kB / 411.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1166, allocations: 0 / 411.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.1168, allocations: 164.3 kB / 411.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.1169, allocations: 89.05 kB / 411.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.1169, allocations: 4 kB / 411.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1169, allocations: 4 kB / 411.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.117, allocations: 3.984 kB / 411.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.117, allocations: 4 kB / 411.9 MB, free: 2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.625e-05/0.1171, allocations: 113.6 kB / 412 MB, free: 1.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1171, allocations: 0 / 412 MB, free: 1.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.1173, allocations: 4 kB / 412 MB, free: 1.887 MB / 334.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.000522/0.1179, allocations: 0.7053 MB / 412.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.118, allocations: 23.92 kB / 412.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.118, allocations: 4.156 kB / 412.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.1181, allocations: 11.98 kB / 412.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1184, allocations: 12.03 kB / 412.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.1198, allocations: 1.32 MB / 414.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1202, allocations: 0.6922 MB / 414.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.28e-05/0.1202, allocations: 8.125 kB / 414.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.1203, allocations: 15.42 kB / 414.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1203, allocations: 0 / 414.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.1436, allocations: 1.623 MB / 416.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/8.606, allocations: 7.781 kB / 416.4 MB, free: 13.44 MB / 350.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv","/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: 11.273465230013244]