Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001586, allocations: 123.4 kB / 17.79 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001994, allocations: 215.5 kB / 20.75 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 59.91 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1051, allocations: 53.37 MB / 426.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002968/0.1081, allocations: 1.634 MB / 428 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1091, allocations: 0.5804 MB / 428.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.1092, allocations: 0 / 428.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.779e-05/0.1092, allocations: 7.875 kB / 428.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.1094, allocations: 15.86 kB / 428.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.1097, allocations: 63.8 kB / 428.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1098, allocations: 59.78 kB / 428.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.1099, allocations: 11.98 kB / 428.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.11, allocations: 31.8 kB / 428.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.1101, allocations: 31.84 kB / 428.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1101, allocations: 8 kB / 428.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-05/0.1101, allocations: 4 kB / 428.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.1102, allocations: 15.92 kB / 428.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.1102, allocations: 31.8 kB / 428.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1103, allocations: 67.67 kB / 428.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1103, allocations: 0 / 428.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1103, allocations: 0 / 428.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1103, allocations: 3.938 kB / 428.9 MB, free: 2.141 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004963/0.1108, allocations: 391 kB / 429.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1109, allocations: 15.97 kB / 429.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.1109, allocations: 34.75 kB / 429.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1111, allocations: 20.88 kB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.1113, allocations: 208.7 kB / 429.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1113, allocations: 8.375 kB / 429.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.1113, allocations: 7.938 kB / 429.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.1116, allocations: 134.6 kB / 429.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1116, allocations: 0 / 429.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.1117, allocations: 0 / 429.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1117, allocations: 0 / 429.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.1118, allocations: 31.92 kB / 429.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.1121, allocations: 287.5 kB / 430 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1123, allocations: 90.42 kB / 430.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.1124, allocations: 51.36 kB / 430.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1124, allocations: 0 / 430.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1124, allocations: 42.55 kB / 430.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1124, allocations: 0 / 430.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003147/0.1127, allocations: 101.5 kB / 430.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.1128, allocations: 132.5 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.113, allocations: 154.2 kB / 430.6 MB, free: 184 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.113, allocations: 29.7 kB / 430.6 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.1131, allocations: 92.12 kB / 430.7 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.1131, allocations: 7.953 kB / 430.7 MB, free: 44 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.1131, allocations: 21.67 kB / 430.7 MB, free: 16 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1133, allocations: 322.8 kB / 431.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.1133, allocations: 11.94 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.1134, allocations: 48.28 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1135, allocations: 56.22 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1135, allocations: 4 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001561/0.1137, allocations: 85.5 kB / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1137, allocations: 8 kB / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1137, allocations: 0 / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1137, allocations: 0 / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.1138, allocations: 19.98 kB / 431.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1138, allocations: 3.938 kB / 431.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.1139, allocations: 4 kB / 431.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1139, allocations: 12.14 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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.98e-05/0.114, allocations: 117.8 kB / 431.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.485e-05/0.1141, allocations: 65.58 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.1141, allocations: 7.875 kB / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1141, allocations: 4 kB / 431.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.1141, allocations: 3.938 kB / 431.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.1141, allocations: 4 kB / 431.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.1143, allocations: 177.6 kB / 431.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1143, allocations: 64 / 431.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.1144, allocations: 19.98 kB / 431.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1144, allocations: 0 / 431.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1144, allocations: 7.875 kB / 431.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1144, allocations: 7.938 kB / 431.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1144, allocations: 3.938 kB / 431.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1146, allocations: 198 kB / 431.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.1147, allocations: 93.05 kB / 432 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1147, allocations: 7.984 kB / 432 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.1148, allocations: 0 / 432 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.1148, allocations: 11.88 kB / 432 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.1148, allocations: 8.188 kB / 432 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.599e-05/0.1149, allocations: 107.2 kB / 432.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1149, allocations: 0 / 432.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1152, allocations: 12 kB / 432.1 MB, free: 14.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0005407/0.1157, allocations: 0.7345 MB / 432.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.1159, allocations: 47.8 kB / 432.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1159, allocations: 0 / 432.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.365e-05/0.1159, allocations: 11.98 kB / 432.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.1163, allocations: 35.98 kB / 433 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1178, allocations: 1.469 MB / 434.4 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1181, allocations: 0.7002 MB / 435.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.1181, allocations: 8 kB / 435.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.1182, allocations: 23.42 kB / 435.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1182, allocations: 0 / 435.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.1411, allocations: 1.879 MB / 437 MB, free: 9.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.682, allocations: 8.047 kB / 437.1 MB, free: 9.449 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,shiftSample1.y,hold1.y Variables in the result:time,hold1.u,hold1.y,sample1.y,shiftSample1.u,shiftSample1.y [Calling sys.exit(0), Time elapsed: 10.489276743959635]