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.001332/0.001332, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00147/0.00147, allocations: 210.3 kB / 23.73 MB, free: 4.379 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.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001512/0.001512, allocations: 47.94 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2423, allocations: 53.35 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00313/0.2455, allocations: 1.842 MB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2468, allocations: 0.6584 MB / 433.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.2469, allocations: 7.938 kB / 433.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.247, allocations: 27.73 kB / 433.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.2472, allocations: 27.78 kB / 433.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.2476, allocations: 103.7 kB / 433.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.2478, allocations: 151.5 kB / 433.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.2479, allocations: 41.91 kB / 433.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.2481, allocations: 67.7 kB / 434 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.2481, allocations: 51.7 kB / 434.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.2482, allocations: 8 kB / 434.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-05/0.2482, allocations: 20 kB / 434.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.2483, allocations: 35.84 kB / 434.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.2483, allocations: 51.67 kB / 434.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.2486, allocations: 149 kB / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2486, allocations: 0 / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2486, allocations: 0 / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2486, allocations: 0 / 434.3 MB, free: 3.422 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.0005988/0.2492, allocations: 381.6 kB / 434.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2492, allocations: 12.03 kB / 434.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.2493, allocations: 46.72 kB / 434.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.2494, allocations: 24.83 kB / 434.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.2498, allocations: 198.2 kB / 435 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2498, allocations: 11.94 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.2498, allocations: 12 kB / 435 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.2504, allocations: 296.2 kB / 435.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2504, allocations: 0 / 435.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2504, allocations: 8 kB / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2504, allocations: 0 / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.2506, allocations: 75.81 kB / 435.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.2511, allocations: 382.6 kB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.2515, allocations: 212.9 kB / 435.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.2517, allocations: 100.4 kB / 436 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.2518, allocations: 3.984 kB / 436 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.2518, allocations: 46.44 kB / 436.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.2518, allocations: 4 kB / 436.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005481/0.2523, allocations: 213.3 kB / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.2525, allocations: 195.9 kB / 436.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.2527, allocations: 179.2 kB / 436.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2527, allocations: 29.7 kB / 436.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.2528, allocations: 108.1 kB / 436.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.2528, allocations: 12.33 kB / 436.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.2528, allocations: 37.7 kB / 436.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.253, allocations: 326.8 kB / 437.2 MB, free: 268 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.253, allocations: 19.98 kB / 437.2 MB, free: 248 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.2532, allocations: 163.1 kB / 437.3 MB, free: 28 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.2534, allocations: 161.6 kB / 437.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2534, allocations: 0 / 437.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002809/0.2537, allocations: 169.2 kB / 437.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2537, allocations: 7.938 kB / 437.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.2537, allocations: 4 kB / 437.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2537, allocations: 4.5 kB / 437.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2539, allocations: 43.91 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2539, allocations: 4 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.991e-05/0.254, allocations: 19.89 kB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.254, allocations: 12.31 kB / 437.8 MB, free: 15.55 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.0001243/0.2541, allocations: 137.8 kB / 437.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.2544, allocations: 141.6 kB / 438 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.2545, allocations: 25.42 kB / 438.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2545, allocations: 8.031 kB / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2545, allocations: 4 kB / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2545, allocations: 0 / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.2548, allocations: 180.6 kB / 438.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.2548, allocations: 3.984 kB / 438.2 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.2549, allocations: 35.92 kB / 438.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.2549, allocations: 7.938 kB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2549, allocations: 0 / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2549, allocations: 4 kB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2549, allocations: 3.984 kB / 438.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.2553, allocations: 353.2 kB / 438.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.928e-05/0.2554, allocations: 43.8 kB / 438.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.2555, allocations: 4 kB / 438.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2556, allocations: 11.98 kB / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.2556, allocations: 4 kB / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.2556, allocations: 8 kB / 438.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.2558, allocations: 128.4 kB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2558, allocations: 4 kB / 438.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.2561, allocations: 28 kB / 438.9 MB, free: 14.36 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.0007059/0.2568, allocations: 0.8884 MB / 439.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.2571, allocations: 120.6 kB / 439.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2571, allocations: 0 / 439.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.2571, allocations: 12 kB / 439.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.2577, allocations: 101.5 kB / 440 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.2607, allocations: 2.162 MB / 442.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.2608, allocations: 114.8 kB / 442.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.839e-05/0.2609, allocations: 9.5 kB / 442.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.884e-05/0.2609, allocations: 43.42 kB / 442.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2609, allocations: 3.938 kB / 442.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.2912, allocations: 4.166 MB / 446.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.19, allocations: 6.172 kB / 446.5 MB, free: 6.656 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: 13.60203309400822]