Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008254/0.0008254, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008862/0.0008862, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9126/0.9126, allocations: 177.1 MB / 204.2 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.498e-06/1.131e-05, allocations: 6.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002377/0.002388, allocations: 1.577 MB / 326.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006848/0.003073, allocations: 0.5297 MB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.003144, allocations: 7.938 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.31e-05/0.003187, allocations: 3.938 kB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.003331, allocations: 11.91 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.003641, allocations: 67.33 kB / 326.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.003742, allocations: 51.78 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.003844, allocations: 20.09 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.003965, allocations: 35.86 kB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.00401, allocations: 11.98 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.004026, allocations: 4 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.656e-05/0.004063, allocations: 11.98 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.004105, allocations: 15.92 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.004126, allocations: 11.94 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.004258, allocations: 59.8 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.00426, allocations: 0 / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004261, allocations: 0 / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.004271, allocations: 3.984 kB / 327 MB, free: 13.52 MB / 298.7 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.0003567/0.004627, allocations: 309.9 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.00466, allocations: 11.97 kB / 327.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.004689, allocations: 34.75 kB / 327.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.642e-05/0.004786, allocations: 20.88 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.004948, allocations: 142.2 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.004956, allocations: 384 / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.004965, allocations: 8.375 kB / 327.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.005163, allocations: 113.1 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.00517, allocations: 4 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.005178, allocations: 0 / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.005182, allocations: 0 / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/0.005233, allocations: 19.92 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.005481, allocations: 228.8 kB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.348e-05/0.005534, allocations: 45.16 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.005564, allocations: 21.77 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.00558, allocations: 0 / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.005599, allocations: 38.56 kB / 327.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.0056, allocations: 0 / 327.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.005762, allocations: 65.56 kB / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.005804, allocations: 85.11 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.005895, allocations: 152.7 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.005904, allocations: 25.7 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.005944, allocations: 88.09 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.005956, allocations: 7.938 kB / 328.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.005981, allocations: 17.95 kB / 328.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.006061, allocations: 322.8 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.006082, allocations: 8 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.536e-05/0.006097, allocations: 7.984 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.006135, allocations: 24.78 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006137, allocations: 0 / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.882e-05/0.006206, allocations: 49.64 kB / 328.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.006217, allocations: 4 kB / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.006221, allocations: 4.094 kB / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.006234, allocations: 0 / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.801e-05/0.006282, allocations: 11.97 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.006287, allocations: 0 / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.006303, allocations: 4 kB / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.00631, allocations: 0 / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.827e-05/0.006368, allocations: 117.8 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.006401, allocations: 45.58 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.006426, allocations: 11.81 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.006427, allocations: 4.031 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.006431, allocations: 0 / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.006433, allocations: 0 / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.006543, allocations: 148.7 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006544, allocations: 0 / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.006563, allocations: 4 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.006564, allocations: 0 / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.006571, allocations: 4 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006573, allocations: 3.984 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006574, allocations: 0 / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.591e-05/0.00667, allocations: 164.2 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.006696, allocations: 19.92 kB / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.006707, allocations: 4 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.006739, allocations: 0 / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.006762, allocations: 0 / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.006765, allocations: 7.984 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.944e-05/0.006814, allocations: 111.2 kB / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006815, allocations: 4 kB / 329.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000143/0.006958, allocations: 7.938 kB / 329.4 MB, free: 10.73 MB / 298.7 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.0002604/0.007218, allocations: 0.6937 MB / 330.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.125e-05/0.007299, allocations: 19.98 kB / 330.2 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.0073, allocations: 3.938 kB / 330.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.836e-05/0.007319, allocations: 7.984 kB / 330.2 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.007576, allocations: 19.95 kB / 330.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008341/0.00841, allocations: 1.306 MB / 331.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.654e-05/0.008466, allocations: 83.02 kB / 331.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.523e-05/0.008492, allocations: 3.984 kB / 331.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.008529, allocations: 16.5 kB / 331.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008529, allocations: 0 / 331.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.02389, allocations: 2.321 MB / 333.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.917/6.941, allocations: 11.25 kB / 333.9 MB, free: 6.242 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.716021813452244]