Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.00123/0.00123, 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.001267/0.001267, 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.368/1.368, allocations: 225.6 MB / 249.1 MB, free: 3.625 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 51.92 kB / 365.7 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1063, allocations: 52.13 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003172/0.1095, allocations: 1.874 MB / 419.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1106, allocations: 0.6273 MB / 420.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1108, allocations: 7.938 kB / 420.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1109, allocations: 19.8 kB / 420.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.111, allocations: 27.73 kB / 420.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.1114, allocations: 106.1 kB / 420.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1116, allocations: 143.5 kB / 420.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1117, allocations: 41.72 kB / 420.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1118, allocations: 55.72 kB / 420.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.741e-05/0.1119, allocations: 55.7 kB / 420.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.1119, allocations: 8 kB / 420.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.059e-05/0.1119, allocations: 16 kB / 420.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.112, allocations: 27.91 kB / 420.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.1121, allocations: 63.55 kB / 420.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.1123, allocations: 139.3 kB / 421 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1123, allocations: 4 kB / 421 MB, free: 9.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1123, allocations: 0 / 421 MB, free: 9.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.381e-06/0.1123, allocations: 0 / 421 MB, free: 9.383 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.0006581/0.1129, allocations: 454.8 kB / 421.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.113, allocations: 16.03 kB / 421.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.046e-05/0.113, allocations: 42.73 kB / 421.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.1131, allocations: 20.8 kB / 421.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.1134, allocations: 249 kB / 421.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1135, allocations: 7.938 kB / 421.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1135, allocations: 12 kB / 421.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.114, allocations: 268.2 kB / 422 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.114, allocations: 4 kB / 422 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1141, allocations: 8 kB / 422 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1141, allocations: 0 / 422 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.1143, allocations: 79.81 kB / 422.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.1148, allocations: 431.4 kB / 422.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.1153, allocations: 286.2 kB / 422.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.1154, allocations: 100.2 kB / 422.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1155, allocations: 8 kB / 422.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.1155, allocations: 50.42 kB / 423 MB, free: 7.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.1155, allocations: 0 / 423 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005497/0.116, allocations: 209.7 kB / 423.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.1162, allocations: 199.9 kB / 423.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1164, allocations: 179.1 kB / 423.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1164, allocations: 25.7 kB / 423.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.1165, allocations: 108.1 kB / 423.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.1165, allocations: 15.94 kB / 423.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.1166, allocations: 29.72 kB / 423.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1168, allocations: 334.8 kB / 424.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.1168, allocations: 19.98 kB / 424.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.117, allocations: 136.2 kB / 424.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.1172, allocations: 153.6 kB / 424.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.1172, allocations: 4 kB / 424.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002792/0.1175, allocations: 161.6 kB / 424.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1175, allocations: 15.92 kB / 424.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1175, allocations: 4 kB / 424.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1175, allocations: 4 kB / 424.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1176, allocations: 35.92 kB / 424.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1176, allocations: 7.938 kB / 424.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.1178, allocations: 19.83 kB / 424.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1178, allocations: 8.375 kB / 424.6 MB, free: 5.285 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.0001296/0.1179, allocations: 145.9 kB / 424.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.1182, allocations: 145.4 kB / 424.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.1182, allocations: 21.39 kB / 424.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1182, allocations: 4 kB / 424.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1182, allocations: 0 / 424.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1182, allocations: 0 / 424.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.1185, allocations: 221.5 kB / 425.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1185, allocations: 0 / 425.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.1187, allocations: 39.95 kB / 425.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.1187, allocations: 11.94 kB / 425.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1187, allocations: 4 kB / 425.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1187, allocations: 7.984 kB / 425.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1187, allocations: 0 / 425.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.1191, allocations: 349.2 kB / 425.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1192, allocations: 116.9 kB / 425.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.1192, allocations: 8 kB / 425.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1194, allocations: 7.984 kB / 425.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.1194, allocations: 4 kB / 425.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1194, allocations: 8 kB / 425.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1196, allocations: 137.2 kB / 425.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1196, allocations: 0 / 425.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.1199, allocations: 24 kB / 425.8 MB, free: 3.941 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.0009273/0.1208, allocations: 0.892 MB / 426.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.1211, allocations: 116.7 kB / 426.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1211, allocations: 0 / 426.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.692e-05/0.1211, allocations: 15.94 kB / 426.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/0.1218, allocations: 100.2 kB / 427 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.1245, allocations: 2.076 MB / 429 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.125, allocations: 0.7279 MB / 429.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.1251, allocations: 21.48 kB / 429.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.1251, allocations: 39.42 kB / 429.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1251, allocations: 0 / 429.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.1524, allocations: 3.411 MB / 433.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.195, allocations: 4.688 kB / 433.2 MB, free: 12.46 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.84162287786603]