Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001485/0.001485, allocations: 124.7 kB / 17.79 MB, free: 5.246 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.001351/0.001351, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.381/1.381, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 51.92 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.09591, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003168/0.09908, allocations: 1.878 MB / 419.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1001, allocations: 0.6312 MB / 420.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1002, allocations: 7.938 kB / 420.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.1004, allocations: 19.73 kB / 420.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.1005, allocations: 27.78 kB / 420.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1008, allocations: 95.78 kB / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.101, allocations: 151.5 kB / 420.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1011, allocations: 37.73 kB / 420.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1012, allocations: 55.72 kB / 420.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.734e-05/0.1013, allocations: 55.69 kB / 420.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1013, allocations: 12 kB / 420.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.946e-05/0.1014, allocations: 12 kB / 420.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.1014, allocations: 23.92 kB / 420.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.1015, allocations: 71.48 kB / 420.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1017, allocations: 135.4 kB / 421 MB, free: 9.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1017, allocations: 4 kB / 421 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1017, allocations: 0 / 421 MB, free: 9.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1017, allocations: 0 / 421 MB, free: 9.387 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.0006105/0.1023, allocations: 454.8 kB / 421.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1023, allocations: 16.03 kB / 421.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.1024, allocations: 42.73 kB / 421.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.1024, allocations: 24.8 kB / 421.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.1028, allocations: 241 kB / 421.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1028, allocations: 11.94 kB / 421.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1028, allocations: 12 kB / 421.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.1034, allocations: 287.1 kB / 422.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1034, allocations: 4 kB / 422.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1034, allocations: 8 kB / 422.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1034, allocations: 0 / 422.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.1036, allocations: 75.88 kB / 422.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.1041, allocations: 431.4 kB / 422.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.1046, allocations: 290.1 kB / 422.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.1048, allocations: 108.2 kB / 422.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1048, allocations: 3.984 kB / 423 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1048, allocations: 42.5 kB / 423 MB, free: 7.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.1048, allocations: 0 / 423 MB, free: 7.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005567/0.1054, allocations: 217.6 kB / 423.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.1055, allocations: 200 kB / 423.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1057, allocations: 179.1 kB / 423.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.1057, allocations: 29.7 kB / 423.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.1058, allocations: 104.5 kB / 423.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1058, allocations: 19.83 kB / 423.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.1059, allocations: 37.72 kB / 423.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.106, allocations: 326.8 kB / 424.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.1061, allocations: 27.98 kB / 424.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.1063, allocations: 139.4 kB / 424.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.1065, allocations: 170.4 kB / 424.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1065, allocations: 0 / 424.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002832/0.1068, allocations: 173.2 kB / 424.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1068, allocations: 8 kB / 424.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1068, allocations: 4 kB / 424.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1068, allocations: 8.125 kB / 424.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.107, allocations: 39.92 kB / 424.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.107, allocations: 16.39 kB / 424.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.742e-05/0.1071, allocations: 15.95 kB / 424.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.1071, allocations: 15.98 kB / 424.7 MB, free: 5.207 MB / 350.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.0001227/0.1072, allocations: 141.7 kB / 424.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.1075, allocations: 137.9 kB / 425 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.1075, allocations: 21.39 kB / 425 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1075, allocations: 4 kB / 425 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.1076, allocations: 7.938 kB / 425 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1076, allocations: 4.031 kB / 425 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.1079, allocations: 217.5 kB / 425.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1079, allocations: 4 kB / 425.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.108, allocations: 35.97 kB / 425.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.108, allocations: 4 kB / 425.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.108, allocations: 0 / 425.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.108, allocations: 7.938 kB / 425.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.108, allocations: 3.938 kB / 425.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.1085, allocations: 361.2 kB / 425.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.1086, allocations: 124.8 kB / 425.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.1086, allocations: 4 kB / 425.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1087, allocations: 15.98 kB / 425.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1088, allocations: 15.88 kB / 425.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1088, allocations: 4 kB / 425.8 MB, free: 4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1089, allocations: 133.2 kB / 425.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1089, allocations: 0 / 425.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.1092, allocations: 24 kB / 425.9 MB, free: 3.848 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: 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.0009136/0.1101, allocations: 0.9578 MB / 426.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.1104, allocations: 115.8 kB / 427 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1104, allocations: 4 kB / 427 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.213e-05/0.1105, allocations: 11.98 kB / 427 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.1111, allocations: 103.3 kB / 427.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.1135, allocations: 2.082 MB / 429.2 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.1139, allocations: 0.724 MB / 429.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.46e-05/0.1139, allocations: 25.72 kB / 430 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.114, allocations: 43.42 kB / 430 MB, free: 15.53 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.114, allocations: 0 / 430 MB, free: 15.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.14, allocations: 3.519 MB / 433.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.077, allocations: 4.562 kB / 433.5 MB, free: 12.17 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.726691024377942]