Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001302/0.001302, allocations: 124.3 kB / 17.79 MB, free: 5.121 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.001297/0.001297, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.602 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.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 52.05 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1041, allocations: 52.15 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003071/0.1072, allocations: 1.61 MB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009014/0.1081, allocations: 0.5065 MB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.1082, allocations: 0 / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.1082, allocations: 11.86 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.1083, allocations: 11.88 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1085, allocations: 51.81 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.1086, allocations: 55.8 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.1087, allocations: 19.97 kB / 420.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.501e-05/0.1088, allocations: 23.92 kB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/0.1088, allocations: 23.86 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1089, allocations: 4 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.1089, allocations: 7.938 kB / 420.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.1089, allocations: 15.92 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.109, allocations: 35.73 kB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1091, allocations: 67.61 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1091, allocations: 0 / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1091, allocations: 0 / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1091, allocations: 0 / 420.2 MB, free: 10.14 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.0004846/0.1096, allocations: 387 kB / 420.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1096, allocations: 8.031 kB / 420.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.1097, allocations: 38.75 kB / 420.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.1097, allocations: 12.84 kB / 420.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.11, allocations: 200.8 kB / 420.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.11, allocations: 8.312 kB / 420.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.11, allocations: 11.88 kB / 420.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1103, allocations: 130.8 kB / 421 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1103, allocations: 0 / 421 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1103, allocations: 0 / 421 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1103, allocations: 0 / 421 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.078e-05/0.1104, allocations: 35.91 kB / 421 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.1108, allocations: 287.4 kB / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.1109, allocations: 94.42 kB / 421.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.111, allocations: 39.48 kB / 421.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.111, allocations: 3.984 kB / 421.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.111, allocations: 50.48 kB / 421.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.111, allocations: 0 / 421.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002897/0.1113, allocations: 93.56 kB / 421.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/0.1114, allocations: 137 kB / 421.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.1116, allocations: 151.6 kB / 421.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1116, allocations: 29.7 kB / 421.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.1116, allocations: 96.08 kB / 422 MB, free: 8.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.1117, allocations: 11.89 kB / 422 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.1117, allocations: 17.72 kB / 422 MB, free: 8.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1119, allocations: 318.8 kB / 422.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.1119, allocations: 8 kB / 422.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.112, allocations: 48.28 kB / 422.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1121, allocations: 60.22 kB / 422.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1121, allocations: 3.938 kB / 422.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001563/0.1122, allocations: 89.5 kB / 422.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1122, allocations: 4 kB / 422.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1122, allocations: 0 / 422.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1123, allocations: 7.984 kB / 422.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.1123, allocations: 11.98 kB / 422.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1124, allocations: 8.094 kB / 422.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.1124, allocations: 8 kB / 422.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1124, allocations: 7.922 kB / 422.6 MB, free: 7.434 MB / 350.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 9.962e-05/0.1125, allocations: 118.5 kB / 422.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.09e-05/0.1126, allocations: 57.64 kB / 422.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.1126, allocations: 15.81 kB / 422.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1126, allocations: 3.938 kB / 422.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1126, allocations: 7.938 kB / 422.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1126, allocations: 4.062 kB / 422.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.1129, allocations: 173.6 kB / 423 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1129, allocations: 0 / 423 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.384e-05/0.1129, allocations: 15.98 kB / 423 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1129, allocations: 0 / 423 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1129, allocations: 4 kB / 423 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1129, allocations: 0 / 423 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1129, allocations: 3.938 kB / 423 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1132, allocations: 202.1 kB / 423.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.1133, allocations: 101 kB / 423.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.1133, allocations: 0 / 423.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.1134, allocations: 7.984 kB / 423.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1134, allocations: 7.938 kB / 423.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1134, allocations: 4 kB / 423.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.374e-05/0.1135, allocations: 115.2 kB / 423.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1135, allocations: 0 / 423.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1137, allocations: 7.938 kB / 423.4 MB, free: 6.488 MB / 350.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.00059/0.1143, allocations: 0.7305 MB / 424.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.1145, allocations: 47.84 kB / 424.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1145, allocations: 4 kB / 424.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.1145, allocations: 7.984 kB / 424.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1149, allocations: 44.62 kB / 424.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1165, allocations: 1.45 MB / 425.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1168, allocations: 0.6961 MB / 426.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.832e-05/0.1169, allocations: 11.98 kB / 426.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.1169, allocations: 19.44 kB / 426.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1169, allocations: 0 / 426.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.1415, allocations: 1.881 MB / 428.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.027, allocations: 18.86 kB / 428.3 MB, free: 1.504 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.528695238754153]