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.001368/0.001368, allocations: 107.5 kB / 20.44 MB, free: 1.062 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.001488/0.001488, allocations: 179.9 kB / 23.7 MB, free: 4.191 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.391/1.391, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.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.001536/0.001536, allocations: 47.92 kB / 370.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.241, allocations: 52.19 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003372/0.2444, allocations: 1.825 MB / 424.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.2456, allocations: 0.5846 MB / 425 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.2457, allocations: 7.938 kB / 425 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.2458, allocations: 27.72 kB / 425 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.246, allocations: 23.8 kB / 425.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.2464, allocations: 103.4 kB / 425.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.2466, allocations: 143.5 kB / 425.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.2468, allocations: 37.91 kB / 425.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.2469, allocations: 59.72 kB / 425.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.247, allocations: 51.7 kB / 425.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.247, allocations: 12 kB / 425.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.294e-05/0.2471, allocations: 8 kB / 425.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.2471, allocations: 31.86 kB / 425.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.2472, allocations: 43.73 kB / 425.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.2474, allocations: 148.9 kB / 425.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2474, allocations: 0 / 425.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2474, allocations: 4 kB / 425.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.2474, allocations: 0 / 425.7 MB, free: 11.3 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.000602/0.248, allocations: 377.6 kB / 426.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.248, allocations: 16.03 kB / 426.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.962e-05/0.2481, allocations: 38.73 kB / 426.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.2481, allocations: 24.8 kB / 426.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.2484, allocations: 176.1 kB / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2485, allocations: 11.94 kB / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2485, allocations: 12 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.2491, allocations: 314.4 kB / 426.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2491, allocations: 0 / 426.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2491, allocations: 0 / 426.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2491, allocations: 4 kB / 426.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.2493, allocations: 87.69 kB / 426.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.2498, allocations: 378.6 kB / 427.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.2502, allocations: 205 kB / 427.3 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.2504, allocations: 112.3 kB / 427.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.2505, allocations: 8 kB / 427.4 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.2505, allocations: 50.42 kB / 427.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.2505, allocations: 0 / 427.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005447/0.251, allocations: 205.3 kB / 427.7 MB, free: 9.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.2512, allocations: 199.9 kB / 427.9 MB, free: 8.855 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.2513, allocations: 179.6 kB / 428 MB, free: 8.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.2514, allocations: 37.7 kB / 428.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.2514, allocations: 96.14 kB / 428.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.2515, allocations: 15.94 kB / 428.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.2515, allocations: 33.7 kB / 428.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2517, allocations: 322.8 kB / 428.5 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.2517, allocations: 23.98 kB / 428.5 MB, free: 8.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.2519, allocations: 160.1 kB / 428.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.2521, allocations: 161.6 kB / 428.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2521, allocations: 4 kB / 428.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002907/0.2524, allocations: 162 kB / 429 MB, free: 7.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2524, allocations: 16 kB / 429 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2524, allocations: 4 kB / 429 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2524, allocations: 4 kB / 429 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.2526, allocations: 39.92 kB / 429.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.2526, allocations: 7.938 kB / 429.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.2527, allocations: 19.88 kB / 429.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.2527, allocations: 12 kB / 429.1 MB, free: 7.438 MB / 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.0001286/0.2528, allocations: 129.7 kB / 429.3 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/0.2531, allocations: 149.4 kB / 429.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.2532, allocations: 21.41 kB / 429.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2532, allocations: 4 kB / 429.4 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2532, allocations: 0 / 429.4 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2532, allocations: 7.984 kB / 429.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.2535, allocations: 164.7 kB / 429.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2535, allocations: 4 kB / 429.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.2536, allocations: 39.91 kB / 429.6 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.2536, allocations: 7.875 kB / 429.6 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.2536, allocations: 8 kB / 429.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2536, allocations: 4.031 kB / 429.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.2536, allocations: 7.984 kB / 429.7 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.2541, allocations: 356 kB / 430 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.2541, allocations: 31.77 kB / 430 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.2542, allocations: 8 kB / 430 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2543, allocations: 11.98 kB / 430.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.2543, allocations: 4 kB / 430.1 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2543, allocations: 8 kB / 430.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.2545, allocations: 141.1 kB / 430.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2545, allocations: 0 / 430.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.2548, allocations: 20 kB / 430.2 MB, free: 6.25 MB / 334.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.0007614/0.2555, allocations: 0.8858 MB / 431.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.2558, allocations: 111.8 kB / 431.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2558, allocations: 0 / 431.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/0.2559, allocations: 20.02 kB / 431.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006103/0.2565, allocations: 101.5 kB / 431.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.2596, allocations: 2.161 MB / 433.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.2597, allocations: 118.6 kB / 433.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.583e-05/0.2598, allocations: 9.5 kB / 433.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.2599, allocations: 43.41 kB / 433.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2599, allocations: 0 / 433.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.2918, allocations: 4.046 MB / 437.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.6, allocations: 15.36 kB / 437.7 MB, free: 14.66 MB / 350.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.138046666048467]