Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001858/0.001858, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002154/0.002154, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2392, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003192/0.2424, allocations: 1.888 MB / 433.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2437, allocations: 0.7129 MB / 433.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.2438, allocations: 11.88 kB / 433.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.2439, allocations: 19.8 kB / 433.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.2441, allocations: 35.72 kB / 433.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.2445, allocations: 103.8 kB / 434 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.2447, allocations: 147.5 kB / 434.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.2448, allocations: 37.91 kB / 434.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.245, allocations: 67.7 kB / 434.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2451, allocations: 59.64 kB / 434.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.2451, allocations: 12 kB / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.913e-05/0.2451, allocations: 16 kB / 434.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.2452, allocations: 27.91 kB / 434.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.973e-05/0.2453, allocations: 67.55 kB / 434.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.2455, allocations: 151.7 kB / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2455, allocations: 0 / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2455, allocations: 0 / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2455, allocations: 0 / 434.5 MB, free: 3.344 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.0005865/0.2461, allocations: 381.6 kB / 434.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2461, allocations: 8.031 kB / 434.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.469e-05/0.2462, allocations: 46.73 kB / 435 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.2464, allocations: 28.83 kB / 435 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.2467, allocations: 198.2 kB / 435.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.2467, allocations: 7.938 kB / 435.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.2468, allocations: 8 kB / 435.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.2473, allocations: 274.5 kB / 435.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2474, allocations: 0 / 435.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.2474, allocations: 8 kB / 435.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2474, allocations: 4 kB / 435.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.2476, allocations: 87.75 kB / 435.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.2481, allocations: 386.6 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.2486, allocations: 209 kB / 436.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.2488, allocations: 112.3 kB / 436.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.2488, allocations: 4 kB / 436.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2489, allocations: 38.5 kB / 436.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.2489, allocations: 0 / 436.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005553/0.2494, allocations: 221.5 kB / 436.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.2496, allocations: 196.2 kB / 436.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.2497, allocations: 183.2 kB / 436.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.2498, allocations: 29.7 kB / 436.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.2498, allocations: 104.1 kB / 437 MB, free: 0.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.2499, allocations: 11.98 kB / 437 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.2499, allocations: 41.66 kB / 437.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.25, allocations: 322.8 kB / 437.4 MB, free: 204 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.2501, allocations: 19.98 kB / 437.4 MB, free: 184 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.2503, allocations: 134.5 kB / 437.5 MB, free: 16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.2505, allocations: 169.5 kB / 437.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2505, allocations: 4 kB / 437.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002783/0.2508, allocations: 157.9 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2508, allocations: 15.88 kB / 437.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2508, allocations: 8.031 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2509, allocations: 4 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.251, allocations: 43.89 kB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.251, allocations: 4 kB / 437.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.629e-05/0.2511, allocations: 11.94 kB / 437.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.2511, allocations: 12 kB / 438 MB, free: 15.52 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.2512, allocations: 129.8 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.2515, allocations: 157.3 kB / 438.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.2516, allocations: 21.39 kB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2516, allocations: 4 kB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2516, allocations: 0 / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2516, allocations: 4 kB / 438.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.2519, allocations: 184.6 kB / 438.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2519, allocations: 0 / 438.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.252, allocations: 39.97 kB / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.252, allocations: 3.938 kB / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.252, allocations: 8.031 kB / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.252, allocations: 7.922 kB / 438.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.252, allocations: 4 kB / 438.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.2524, allocations: 355.6 kB / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.2525, allocations: 43.75 kB / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.2525, allocations: 0 / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.2527, allocations: 19.94 kB / 438.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.2527, allocations: 7.984 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.2527, allocations: 4 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.2528, allocations: 132.4 kB / 439.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2528, allocations: 0 / 439.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.2531, allocations: 28 kB / 439.1 MB, free: 14.3 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.0007011/0.2538, allocations: 0.8897 MB / 440 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.2541, allocations: 108.7 kB / 440.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2541, allocations: 0 / 440.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.602e-05/0.2542, allocations: 16.05 kB / 440.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.2548, allocations: 98.89 kB / 440.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.2573, allocations: 2.082 MB / 442.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.2577, allocations: 0.7203 MB / 443 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.192e-05/0.2577, allocations: 13.67 kB / 443 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.2578, allocations: 43.36 kB / 443.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2578, allocations: 4 kB / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.2887, allocations: 3.607 MB / 446.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.22, allocations: 8.062 kB / 446.7 MB, free: 6.59 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! Error: Could not read variable hold1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable hold1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.80129961199782]