Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001749/0.001749, allocations: 123 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.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.002269/0.002269, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.429/1.429, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 47.94 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1042, allocations: 53.32 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003322/0.1075, allocations: 1.622 MB / 427.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1087, allocations: 0.5766 MB / 428.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1088, allocations: 3.938 kB / 428.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.939e-05/0.1089, allocations: 15.86 kB / 428.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.109, allocations: 3.938 kB / 428.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.1094, allocations: 67.69 kB / 428.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1096, allocations: 63.77 kB / 428.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1097, allocations: 8 kB / 428.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1098, allocations: 39.78 kB / 428.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.875e-05/0.1099, allocations: 27.84 kB / 428.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1099, allocations: 8 kB / 428.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.753e-05/0.1099, allocations: 8 kB / 428.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.11, allocations: 11.94 kB / 428.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.11, allocations: 27.8 kB / 428.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1102, allocations: 67.67 kB / 428.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1102, allocations: 0 / 428.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1102, allocations: 0 / 428.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1102, allocations: 7.875 kB / 428.9 MB, free: 2.207 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000608/0.1108, allocations: 391 kB / 429.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1109, allocations: 12.03 kB / 429.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.1109, allocations: 34.75 kB / 429.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.1111, allocations: 24.81 kB / 429.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1114, allocations: 212.7 kB / 429.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1114, allocations: 8.359 kB / 429.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.1114, allocations: 7.938 kB / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.1118, allocations: 130.7 kB / 429.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1118, allocations: 3.938 kB / 429.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1118, allocations: 4 kB / 429.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1118, allocations: 0 / 429.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1119, allocations: 31.91 kB / 429.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.1123, allocations: 287.5 kB / 430 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1125, allocations: 94.36 kB / 430.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.1126, allocations: 39.5 kB / 430.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.1126, allocations: 11.92 kB / 430.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.1126, allocations: 42.56 kB / 430.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1126, allocations: 0 / 430.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003329/0.113, allocations: 97.5 kB / 430.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.1131, allocations: 136.5 kB / 430.4 MB, free: 408 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1133, allocations: 149.1 kB / 430.6 MB, free: 244 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1133, allocations: 29.7 kB / 430.6 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.1134, allocations: 96.12 kB / 430.7 MB, free: 108 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.1134, allocations: 3.953 kB / 430.7 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.1134, allocations: 25.67 kB / 430.7 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1136, allocations: 318.8 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.1137, allocations: 11.98 kB / 431 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.1137, allocations: 48.22 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1139, allocations: 60.22 kB / 431.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1139, allocations: 0 / 431.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001781/0.1141, allocations: 85.56 kB / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1141, allocations: 8 kB / 431.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1141, allocations: 0 / 431.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1141, allocations: 4 kB / 431.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.1142, allocations: 11.94 kB / 431.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1142, allocations: 7.875 kB / 431.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.1143, allocations: 7.984 kB / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1143, allocations: 8.156 kB / 431.3 MB, free: 15.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001262/0.1144, allocations: 117.8 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1145, allocations: 65.58 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.1145, allocations: 11.88 kB / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1146, allocations: 0 / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.1146, allocations: 7.922 kB / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1146, allocations: 4 kB / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.1148, allocations: 173.6 kB / 431.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1148, allocations: 64 / 431.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.1149, allocations: 19.98 kB / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1149, allocations: 0 / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1149, allocations: 4 kB / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1149, allocations: 7.875 kB / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.1149, allocations: 3.938 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1152, allocations: 202 kB / 431.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.782e-05/0.1152, allocations: 97.23 kB / 432 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1153, allocations: 4 kB / 432 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.1153, allocations: 4 kB / 432 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1154, allocations: 7.938 kB / 432 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1154, allocations: 4 kB / 432 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.085e-05/0.1155, allocations: 114.2 kB / 432.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1155, allocations: 0 / 432.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1157, allocations: 11.94 kB / 432.1 MB, free: 14.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0005394/0.1163, allocations: 0.7306 MB / 432.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.1164, allocations: 51.8 kB / 432.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1164, allocations: 0 / 432.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.788e-05/0.1165, allocations: 11.98 kB / 432.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1169, allocations: 32 kB / 432.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.1185, allocations: 1.468 MB / 434.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.1189, allocations: 0.6962 MB / 435.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.258e-05/0.119, allocations: 15.97 kB / 435.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.119, allocations: 19.44 kB / 435.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.119, allocations: 0 / 435.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.1468, allocations: 1.882 MB / 437 MB, free: 9.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/7.933, allocations: 4 kB / 437 MB, free: 9.52 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.477385852020234]