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.001252/0.001252, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001266/0.001266, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.391/1.391, allocations: 230.5 MB / 254 MB, free: 15.18 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.001881/0.001881, allocations: 59.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1064, allocations: 53.38 MB / 426.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003568/0.11, allocations: 1.88 MB / 428.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1114, allocations: 0.709 MB / 429 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.1116, allocations: 7.938 kB / 429 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.1118, allocations: 27.67 kB / 429 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1119, allocations: 23.8 kB / 429 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.1124, allocations: 110.8 kB / 429.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1127, allocations: 139.6 kB / 429.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.1128, allocations: 49.69 kB / 429.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.113, allocations: 63.72 kB / 429.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1131, allocations: 51.72 kB / 429.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.1132, allocations: 8 kB / 429.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.551e-05/0.1132, allocations: 16 kB / 429.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.1133, allocations: 39.83 kB / 429.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.1134, allocations: 59.61 kB / 429.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.1136, allocations: 155.2 kB / 429.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1136, allocations: 0 / 429.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1136, allocations: 0 / 429.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.1136, allocations: 0 / 429.7 MB, free: 1.289 MB / 350.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.0006942/0.1143, allocations: 458.8 kB / 430.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1144, allocations: 8.031 kB / 430.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.1144, allocations: 42.73 kB / 430.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.1146, allocations: 28.83 kB / 430.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.115, allocations: 252.1 kB / 430.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.115, allocations: 15.94 kB / 430.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1151, allocations: 8 kB / 430.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.1156, allocations: 278 kB / 430.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1157, allocations: 0 / 430.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1157, allocations: 4 kB / 430.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1157, allocations: 0 / 430.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1159, allocations: 75.83 kB / 430.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.1165, allocations: 431.4 kB / 431.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.117, allocations: 290.1 kB / 431.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.1172, allocations: 100.3 kB / 431.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1172, allocations: 4 kB / 431.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.1172, allocations: 46.44 kB / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 3.556e-06/0.1172, allocations: 3.984 kB / 431.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005874/0.1178, allocations: 217.4 kB / 431.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.118, allocations: 191.9 kB / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1181, allocations: 186.3 kB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1182, allocations: 25.7 kB / 432.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.1182, allocations: 108.5 kB / 432.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1183, allocations: 15.98 kB / 432.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.1183, allocations: 37.66 kB / 432.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1185, allocations: 322.8 kB / 432.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.1185, allocations: 27.89 kB / 432.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1187, allocations: 130.5 kB / 432.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1189, allocations: 153.6 kB / 433.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1189, allocations: 4 kB / 433.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002977/0.1192, allocations: 173.2 kB / 433.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1192, allocations: 11.94 kB / 433.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1192, allocations: 4 kB / 433.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1193, allocations: 4 kB / 433.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1194, allocations: 27.98 kB / 433.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.1194, allocations: 8.438 kB / 433.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1195, allocations: 23.92 kB / 433.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.1195, allocations: 11.98 kB / 433.3 MB, free: 13.17 MB / 366.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.0001251/0.1196, allocations: 133.8 kB / 433.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.1199, allocations: 149.7 kB / 433.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.12, allocations: 21.41 kB / 433.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.12, allocations: 0 / 433.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.12, allocations: 8.031 kB / 433.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.12, allocations: 7.922 kB / 433.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1203, allocations: 217.5 kB / 433.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1203, allocations: 0 / 433.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1205, allocations: 39.91 kB / 433.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1205, allocations: 7.938 kB / 433.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1205, allocations: 4 kB / 433.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.1205, allocations: 4 kB / 433.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1205, allocations: 0 / 433.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.1209, allocations: 367.1 kB / 434.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.567e-05/0.121, allocations: 104.9 kB / 434.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.121, allocations: 11.98 kB / 434.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.1212, allocations: 8 kB / 434.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1212, allocations: 7.984 kB / 434.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1212, allocations: 8 kB / 434.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1214, allocations: 140.3 kB / 434.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1214, allocations: 0 / 434.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.1217, allocations: 20 kB / 434.6 MB, free: 11.82 MB / 366.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.0007424/0.1224, allocations: 0.8898 MB / 435.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.1227, allocations: 117.5 kB / 435.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1227, allocations: 0 / 435.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.1228, allocations: 15.92 kB / 435.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.1234, allocations: 105.4 kB / 435.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.1261, allocations: 2.069 MB / 437.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1264, allocations: 0.7245 MB / 438.5 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.1265, allocations: 17.53 kB / 438.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.1265, allocations: 39.42 kB / 438.5 MB, free: 7.594 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1265, allocations: 0 / 438.5 MB, free: 7.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.1519, allocations: 3.421 MB / 442 MB, free: 4.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/7.775, allocations: 8.891 kB / 442 MB, free: 4.312 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.333597932010889]