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.001649/0.001649, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001996/0.001996, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.453/1.453, allocations: 230.6 MB / 254.1 MB, free: 15.1 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09562, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003888/0.09951, allocations: 1.878 MB / 428.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1009, allocations: 0.7052 MB / 428.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.101, allocations: 11.88 kB / 428.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.1011, allocations: 31.67 kB / 429 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1013, allocations: 19.8 kB / 429 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1017, allocations: 111.1 kB / 429.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.1019, allocations: 139.6 kB / 429.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.102, allocations: 49.7 kB / 429.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.1022, allocations: 63.72 kB / 429.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.327e-05/0.1023, allocations: 55.69 kB / 429.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.1023, allocations: 12 kB / 429.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.767e-05/0.1024, allocations: 16 kB / 429.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1024, allocations: 31.86 kB / 429.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.1025, allocations: 63.55 kB / 429.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1027, allocations: 151.2 kB / 429.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1027, allocations: 0 / 429.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1027, allocations: 0 / 429.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.1027, allocations: 0 / 429.6 MB, free: 1.453 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.0006591/0.1034, allocations: 454.8 kB / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1034, allocations: 16.02 kB / 430.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.1035, allocations: 42.75 kB / 430.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.1036, allocations: 24.83 kB / 430.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.104, allocations: 256.1 kB / 430.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.104, allocations: 7.938 kB / 430.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.104, allocations: 12 kB / 430.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/0.1046, allocations: 286.1 kB / 430.7 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1046, allocations: 4 kB / 430.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1046, allocations: 0 / 430.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1046, allocations: 4 kB / 430.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.1049, allocations: 71.88 kB / 430.8 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.1054, allocations: 435.4 kB / 431.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.1059, allocations: 286.1 kB / 431.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.1061, allocations: 108.3 kB / 431.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.1061, allocations: 11.94 kB / 431.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1062, allocations: 34.56 kB / 431.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.1062, allocations: 0 / 431.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005741/0.1068, allocations: 233.5 kB / 431.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.1069, allocations: 187.9 kB / 432.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1071, allocations: 190.2 kB / 432.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1071, allocations: 25.7 kB / 432.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.1072, allocations: 100.5 kB / 432.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.1072, allocations: 15.94 kB / 432.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.1073, allocations: 41.75 kB / 432.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1074, allocations: 326.8 kB / 432.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.149e-05/0.1075, allocations: 27.98 kB / 432.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1076, allocations: 141.6 kB / 432.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.1079, allocations: 170.4 kB / 433.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1079, allocations: 4 kB / 433.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002932/0.1082, allocations: 173.2 kB / 433.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1082, allocations: 4 kB / 433.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1082, allocations: 4 kB / 433.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1082, allocations: 8 kB / 433.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1083, allocations: 40.45 kB / 433.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.1083, allocations: 15.88 kB / 433.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1085, allocations: 19.89 kB / 433.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.1085, allocations: 11.98 kB / 433.4 MB, free: 13.27 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.0001217/0.1086, allocations: 133.8 kB / 433.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.1089, allocations: 141.4 kB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.109, allocations: 25.39 kB / 433.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.109, allocations: 4 kB / 433.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.109, allocations: 7.969 kB / 433.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.109, allocations: 4 kB / 433.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1093, allocations: 221.5 kB / 433.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1093, allocations: 0 / 433.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.1095, allocations: 39.97 kB / 433.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1095, allocations: 4 kB / 433.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1095, allocations: 0 / 433.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1095, allocations: 7.938 kB / 433.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1095, allocations: 3.938 kB / 433.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.1099, allocations: 361.2 kB / 434.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.955e-05/0.11, allocations: 116.9 kB / 434.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.1101, allocations: 0 / 434.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.1102, allocations: 16 kB / 434.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.1102, allocations: 15.86 kB / 434.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1103, allocations: 7.938 kB / 434.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1104, allocations: 136.4 kB / 434.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1104, allocations: 0 / 434.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.1107, allocations: 31.95 kB / 434.6 MB, free: 11.9 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.000933/0.1116, allocations: 0.9516 MB / 435.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.1119, allocations: 119.8 kB / 435.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1119, allocations: 0 / 435.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.451e-05/0.112, allocations: 9.062 kB / 435.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.1126, allocations: 112 kB / 435.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.115, allocations: 2.074 MB / 437.9 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1154, allocations: 0.7358 MB / 438.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.06e-05/0.1155, allocations: 17.55 kB / 438.6 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.1156, allocations: 39.42 kB / 438.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1156, allocations: 0 / 438.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.1437, allocations: 3.536 MB / 442.2 MB, free: 4.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.035, allocations: 10.86 kB / 442.2 MB, free: 4.207 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.568512619007379]