Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001876/0.001876, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002295/0.002295, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.556/1.556, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 43.94 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1313, allocations: 53.33 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003236/0.1345, allocations: 1.624 MB / 427.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1357, allocations: 0.5766 MB / 428.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.983e-05/0.1358, allocations: 3.938 kB / 428.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.058e-05/0.1358, allocations: 3.938 kB / 428.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.136, allocations: 23.86 kB / 428.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.1363, allocations: 63.75 kB / 428.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1364, allocations: 47.8 kB / 428.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1365, allocations: 23.97 kB / 428.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1367, allocations: 27.86 kB / 428.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.1367, allocations: 23.86 kB / 428.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1368, allocations: 4 kB / 428.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.06e-05/0.1368, allocations: 8 kB / 428.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.1369, allocations: 19.91 kB / 428.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.1369, allocations: 27.81 kB / 428.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1371, allocations: 79.59 kB / 428.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1371, allocations: 0 / 428.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1371, allocations: 7.875 kB / 428.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1371, allocations: 0 / 428.9 MB, free: 2.199 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.000585/0.1377, allocations: 387 kB / 429.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.1377, allocations: 12.03 kB / 429.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.1378, allocations: 34.75 kB / 429.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1379, allocations: 16.88 kB / 429.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1382, allocations: 216.6 kB / 429.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.1383, allocations: 4.375 kB / 429.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1383, allocations: 11.94 kB / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.1386, allocations: 130.7 kB / 429.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1386, allocations: 3.984 kB / 429.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1386, allocations: 0 / 429.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1386, allocations: 0 / 429.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.385e-05/0.1387, allocations: 27.92 kB / 429.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.1391, allocations: 291.4 kB / 430 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1393, allocations: 94.36 kB / 430.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.1393, allocations: 47.48 kB / 430.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.1394, allocations: 0 / 430.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1394, allocations: 38.5 kB / 430.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1394, allocations: 0 / 430.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000329/0.1397, allocations: 101.7 kB / 430.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/0.1398, allocations: 140.5 kB / 430.4 MB, free: 412 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.14, allocations: 148.4 kB / 430.5 MB, free: 248 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.14, allocations: 29.7 kB / 430.6 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.1401, allocations: 88.14 kB / 430.7 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1401, allocations: 12.25 kB / 430.7 MB, free: 108 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.1401, allocations: 25.67 kB / 430.7 MB, free: 76 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1403, allocations: 318.8 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.1403, allocations: 8 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.1404, allocations: 44.28 kB / 431.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1405, allocations: 60.34 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.443e-06/0.1405, allocations: 8 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001668/0.1407, allocations: 81.62 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1407, allocations: 12.03 kB / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1407, allocations: 0 / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1407, allocations: 0 / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.838e-05/0.1408, allocations: 19.92 kB / 431.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1408, allocations: 7.922 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.1409, allocations: 7.938 kB / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1409, allocations: 8 kB / 431.3 MB, free: 15.46 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 0.0001184/0.141, allocations: 121.8 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.1411, allocations: 57.59 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.1411, allocations: 15.86 kB / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1412, allocations: 4 kB / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1412, allocations: 3.938 kB / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1412, allocations: 0 / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.1414, allocations: 181.6 kB / 431.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1414, allocations: 0 / 431.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.022e-05/0.1415, allocations: 15.98 kB / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1415, allocations: 0 / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1415, allocations: 3.938 kB / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1415, allocations: 8.062 kB / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1415, allocations: 3.938 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.1417, allocations: 198 kB / 431.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/0.1418, allocations: 93.05 kB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1418, allocations: 8 kB / 432 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.1419, allocations: 3.984 kB / 432 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1419, allocations: 7.938 kB / 432 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.1419, allocations: 0 / 432 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.516e-05/0.142, allocations: 118.2 kB / 432.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.142, allocations: 0 / 432.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1423, allocations: 8 kB / 432.1 MB, free: 14.52 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.0005856/0.1429, allocations: 0.7267 MB / 432.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.143, allocations: 56.09 kB / 432.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.143, allocations: 0 / 432.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.1431, allocations: 15.94 kB / 432.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.1435, allocations: 35.98 kB / 432.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.1453, allocations: 1.468 MB / 434.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.1457, allocations: 0.6963 MB / 435.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.364e-05/0.1457, allocations: 4 kB / 435.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.1458, allocations: 23.42 kB / 435.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1458, allocations: 0 / 435.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.1727, allocations: 1.89 MB / 437 MB, free: 9.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.237, allocations: 9.078 kB / 437 MB, free: 9.52 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 11.155319851997774]