Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001226/0.001226, allocations: 113 kB / 18.49 MB, free: 4.539 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.001449/0.001449, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.408/1.408, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 47.94 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09761, allocations: 53.33 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003233/0.1008, allocations: 1.879 MB / 428.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1021, allocations: 0.6975 MB / 429.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1022, allocations: 11.88 kB / 429.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.1023, allocations: 23.8 kB / 429.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.1025, allocations: 31.66 kB / 429.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.1028, allocations: 107.8 kB / 429.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.103, allocations: 143.6 kB / 429.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1032, allocations: 41.7 kB / 430 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.1033, allocations: 63.77 kB / 430 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.831e-05/0.1034, allocations: 55.66 kB / 430.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1034, allocations: 8 kB / 430.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.82e-05/0.1035, allocations: 20 kB / 430.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.1035, allocations: 31.84 kB / 430.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.1036, allocations: 59.61 kB / 430.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1038, allocations: 159.2 kB / 430.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1038, allocations: 3.938 kB / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1038, allocations: 0 / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1038, allocations: 3.938 kB / 430.4 MB, free: 1.441 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.0006394/0.1045, allocations: 458.8 kB / 430.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1045, allocations: 8.031 kB / 430.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.295e-05/0.1045, allocations: 4.375 kB / 430.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.1046, allocations: 42.73 kB / 430.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.1047, allocations: 20.84 kB / 430.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1051, allocations: 263.7 kB / 431.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1051, allocations: 8 kB / 431.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1051, allocations: 8 kB / 431.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.1057, allocations: 284.2 kB / 431.4 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1057, allocations: 4 kB / 431.4 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1057, allocations: 8 kB / 431.4 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1057, allocations: 0 / 431.4 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.1059, allocations: 75.83 kB / 431.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.1064, allocations: 427.6 kB / 431.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.1069, allocations: 286.1 kB / 432.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.1071, allocations: 108.3 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1071, allocations: 0 / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1072, allocations: 42.5 kB / 432.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.1072, allocations: 0 / 432.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005747/0.1078, allocations: 225.3 kB / 432.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.1079, allocations: 199.8 kB / 432.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1081, allocations: 182.3 kB / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1081, allocations: 30.08 kB / 433 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.1082, allocations: 104.5 kB / 433.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1082, allocations: 15.94 kB / 433.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.1083, allocations: 41.66 kB / 433.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1084, allocations: 322.8 kB / 433.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.1085, allocations: 23.98 kB / 433.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1087, allocations: 137 kB / 433.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.1089, allocations: 170.4 kB / 433.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1089, allocations: 0 / 433.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002987/0.1092, allocations: 181.1 kB / 434 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1092, allocations: 8.531 kB / 434 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1092, allocations: 4 kB / 434 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1092, allocations: 8 kB / 434 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1094, allocations: 51.84 kB / 434 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1094, allocations: 4 kB / 434 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/0.1095, allocations: 15.89 kB / 434 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.1095, allocations: 12 kB / 434.1 MB, free: 13.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001266/0.1096, allocations: 137.8 kB / 434.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/0.1099, allocations: 145.4 kB / 434.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.11, allocations: 21.39 kB / 434.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.11, allocations: 7.938 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.11, allocations: 0 / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.11, allocations: 0 / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.1103, allocations: 229.5 kB / 434.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1103, allocations: 4 kB / 434.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.1104, allocations: 35.92 kB / 434.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1104, allocations: 240 / 434.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1105, allocations: 11.98 kB / 434.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1105, allocations: 7.969 kB / 434.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1105, allocations: 4 kB / 434.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.1109, allocations: 367.1 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.111, allocations: 105 kB / 435.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.111, allocations: 8 kB / 435.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.1112, allocations: 19.92 kB / 435.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.1112, allocations: 4 kB / 435.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1112, allocations: 7.938 kB / 435.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1114, allocations: 136.4 kB / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1114, allocations: 0 / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.1117, allocations: 27.89 kB / 435.3 MB, free: 11.89 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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0009443/0.1127, allocations: 0.9626 MB / 436.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.113, allocations: 108.8 kB / 436.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.113, allocations: 0 / 436.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.113, allocations: 24.05 kB / 436.4 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.0006485/0.1137, allocations: 107.2 kB / 436.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.1161, allocations: 2.082 MB / 438.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1165, allocations: 0.728 MB / 439.3 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.499e-05/0.1165, allocations: 13.55 kB / 439.3 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.1166, allocations: 42.3 kB / 439.4 MB, free: 7.586 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1166, allocations: 0 / 439.4 MB, free: 7.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.1367, allocations: 3.57 MB / 442.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.042, allocations: 15.92 kB / 443 MB, free: 4.184 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.643822358979378]