Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001312/0.001312, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001523/0.001523, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.92 kB / 377.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2537, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00308/0.2567, allocations: 1.898 MB / 433 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.258, allocations: 0.7129 MB / 433.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.2581, allocations: 7.938 kB / 433.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.2583, allocations: 19.73 kB / 433.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.2584, allocations: 23.8 kB / 433.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.2588, allocations: 118 kB / 433.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.259, allocations: 139.6 kB / 434.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.2591, allocations: 57.88 kB / 434.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.2593, allocations: 59.73 kB / 434.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.748e-05/0.2594, allocations: 55.62 kB / 434.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.2594, allocations: 12 kB / 434.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.778e-05/0.2594, allocations: 16 kB / 434.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.2595, allocations: 27.92 kB / 434.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.2596, allocations: 63.55 kB / 434.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.2598, allocations: 147.7 kB / 434.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2598, allocations: 4 kB / 434.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2598, allocations: 0 / 434.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2598, allocations: 0 / 434.5 MB, free: 3.5 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.0005676/0.2604, allocations: 385.6 kB / 434.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2604, allocations: 12.02 kB / 434.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.2604, allocations: 38.75 kB / 434.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.2606, allocations: 28.83 kB / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.2609, allocations: 198.2 kB / 435.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.2609, allocations: 11.94 kB / 435.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.261, allocations: 12 kB / 435.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.2615, allocations: 272.2 kB / 435.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2615, allocations: 0 / 435.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.2615, allocations: 7.984 kB / 435.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2615, allocations: 0 / 435.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.2617, allocations: 79.77 kB / 435.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.2622, allocations: 406.5 kB / 435.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.2626, allocations: 209 kB / 436.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.2628, allocations: 100.3 kB / 436.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.2628, allocations: 4 kB / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.2629, allocations: 46.44 kB / 436.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2629, allocations: 0 / 436.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005392/0.2634, allocations: 213.4 kB / 436.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.2635, allocations: 195.9 kB / 436.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.2637, allocations: 179.2 kB / 436.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2638, allocations: 30.08 kB / 436.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.2638, allocations: 112.1 kB / 437 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.2638, allocations: 11.98 kB / 437 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.2639, allocations: 29.67 kB / 437 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.264, allocations: 330.8 kB / 437.3 MB, free: 356 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.2641, allocations: 23.98 kB / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.2643, allocations: 133.4 kB / 437.5 MB, free: 148 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.2645, allocations: 161.6 kB / 437.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2645, allocations: 0 / 437.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002717/0.2647, allocations: 169.6 kB / 437.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2648, allocations: 11.92 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2648, allocations: 7.938 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.2648, allocations: 8 kB / 437.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2649, allocations: 32.42 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2649, allocations: 11.94 kB / 437.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.265, allocations: 15.94 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.265, allocations: 8 kB / 437.9 MB, free: 15.67 MB / 350.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.000114/0.2651, allocations: 137.8 kB / 438 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.2654, allocations: 141.4 kB / 438.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.2655, allocations: 25.39 kB / 438.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2655, allocations: 4.031 kB / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.2655, allocations: 4 kB / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2655, allocations: 0 / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.2658, allocations: 192.6 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2658, allocations: 0 / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.2659, allocations: 35.92 kB / 438.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.2659, allocations: 7.938 kB / 438.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2659, allocations: 7.984 kB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2659, allocations: 4 kB / 438.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2659, allocations: 0 / 438.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.2664, allocations: 357.2 kB / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.2664, allocations: 35.81 kB / 438.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.2665, allocations: 12.23 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2666, allocations: 11.98 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.2666, allocations: 0 / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2666, allocations: 11.98 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.2668, allocations: 136.4 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2668, allocations: 0 / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.2671, allocations: 20 kB / 439 MB, free: 14.46 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.0007466/0.2678, allocations: 0.8897 MB / 439.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.2681, allocations: 111.8 kB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2681, allocations: 4 kB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.2682, allocations: 13.09 kB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.2688, allocations: 108.7 kB / 440.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.2713, allocations: 2.074 MB / 442.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.2717, allocations: 0.732 MB / 443 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.2718, allocations: 13.48 kB / 443 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/0.2718, allocations: 39.42 kB / 443 MB, free: 10.23 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2718, allocations: 0 / 443 MB, free: 10.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.302, allocations: 3.605 MB / 446.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.37, allocations: 8 kB / 446.6 MB, free: 6.766 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.042941602998326]