Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001883/0.001883, allocations: 121.4 kB / 17.74 MB, free: 5.203 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.00223/0.002229, allocations: 182.9 kB / 20.67 MB, free: 2.277 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.611/1.611, allocations: 222.9 MB / 246.4 MB, free: 4.309 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.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 51.91 kB / 357.5 MB, free: 8.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.136, allocations: 49.43 MB / 406.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003601/0.1396, allocations: 1.853 MB / 408.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1409, allocations: 0.6234 MB / 409.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1411, allocations: 7.938 kB / 409.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.1413, allocations: 19.8 kB / 409.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.1414, allocations: 27.73 kB / 409.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.1418, allocations: 99.77 kB / 409.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.142, allocations: 143.5 kB / 409.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.1422, allocations: 61.7 kB / 409.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1424, allocations: 55.72 kB / 409.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1425, allocations: 51.72 kB / 409.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.1425, allocations: 8 kB / 409.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.619e-05/0.1425, allocations: 12 kB / 409.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.1426, allocations: 31.83 kB / 409.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.1427, allocations: 63.61 kB / 410 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.1429, allocations: 139.2 kB / 410.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.143, allocations: 8 kB / 410.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.143, allocations: 0 / 410.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.143, allocations: 0 / 410.1 MB, free: 4.234 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007049/0.1437, allocations: 460.6 kB / 410.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1437, allocations: 12.03 kB / 410.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/0.1438, allocations: 42.73 kB / 410.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.1439, allocations: 20.8 kB / 410.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.1442, allocations: 241.1 kB / 410.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1443, allocations: 7.938 kB / 410.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1443, allocations: 12 kB / 410.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005922/0.1449, allocations: 279.2 kB / 411.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1449, allocations: 0 / 411.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.1449, allocations: 8 kB / 411.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.145, allocations: 0 / 411.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.1452, allocations: 79.81 kB / 411.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.1457, allocations: 423.5 kB / 411.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.1462, allocations: 294.2 kB / 412 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.1464, allocations: 120.2 kB / 412.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1465, allocations: 3.938 kB / 412.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.1465, allocations: 50.38 kB / 412.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.1465, allocations: 4 kB / 412.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005673/0.1471, allocations: 213.4 kB / 412.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.1473, allocations: 191.9 kB / 412.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1474, allocations: 179.5 kB / 412.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1475, allocations: 33.7 kB / 412.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.1476, allocations: 108.1 kB / 412.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.1476, allocations: 11.95 kB / 412.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.1477, allocations: 29.7 kB / 412.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1478, allocations: 322.8 kB / 413.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.1479, allocations: 31.98 kB / 413.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.1481, allocations: 134.4 kB / 413.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.1483, allocations: 157.6 kB / 413.5 MB, free: 388 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1483, allocations: 0 / 413.5 MB, free: 388 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002782/0.1486, allocations: 165.2 kB / 413.7 MB, free: 216 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1486, allocations: 7.938 kB / 413.7 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1486, allocations: 4.5 kB / 413.7 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1487, allocations: 12 kB / 413.7 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1488, allocations: 35.91 kB / 413.7 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1488, allocations: 7.938 kB / 413.8 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1489, allocations: 19.89 kB / 413.8 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.149, allocations: 8 kB / 413.8 MB, free: 120 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001586/0.1491, allocations: 141.7 kB / 413.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.1494, allocations: 137.4 kB / 414.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.1495, allocations: 25.42 kB / 414.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1495, allocations: 4.469 kB / 414.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.1495, allocations: 4 kB / 414.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1495, allocations: 0 / 414.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.1499, allocations: 213.5 kB / 414.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1499, allocations: 0 / 414.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.15, allocations: 47.84 kB / 414.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.15, allocations: 3.938 kB / 414.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.15, allocations: 4 kB / 414.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1501, allocations: 0 / 414.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1501, allocations: 8 kB / 414.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.1505, allocations: 355.2 kB / 414.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.1506, allocations: 124.9 kB / 414.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1507, allocations: 0 / 414.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1508, allocations: 15.98 kB / 414.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.1509, allocations: 4 kB / 414.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1509, allocations: 4 kB / 414.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.151, allocations: 133.2 kB / 415 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.151, allocations: 0 / 415 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000324/0.1513, allocations: 20 kB / 415 MB, free: 14.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.0008261/0.1522, allocations: 0.9014 MB / 415.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.1525, allocations: 111.8 kB / 416 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1525, allocations: 0 / 416 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.97e-05/0.1526, allocations: 12.94 kB / 416 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006873/0.1533, allocations: 104.7 kB / 416.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.156, allocations: 2.085 MB / 418.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.1564, allocations: 0.724 MB / 418.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.985e-05/0.1565, allocations: 17.53 kB / 418.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.1566, allocations: 39.42 kB / 419 MB, free: 10.55 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1566, allocations: 0 / 419 MB, free: 10.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.183, allocations: 3.392 MB / 422.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/8.606, allocations: 14.86 kB / 422.4 MB, free: 7.305 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98486e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.703797414898872]