Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001709/0.001709, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001971/0.001971, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 59.89 kB / 373.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1027, allocations: 53.32 MB / 426.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002745/0.1055, allocations: 1.632 MB / 428.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009964/0.1065, allocations: 0.5765 MB / 428.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.1065, allocations: 7.938 kB / 428.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.919e-05/0.1066, allocations: 3.938 kB / 428.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.1067, allocations: 11.86 kB / 428.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.107, allocations: 70.81 kB / 429 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1072, allocations: 59.72 kB / 429 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.1073, allocations: 11.98 kB / 429 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1074, allocations: 35.84 kB / 429.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.987e-05/0.1074, allocations: 23.86 kB / 429.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1074, allocations: 4 kB / 429.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.003e-05/0.1075, allocations: 8 kB / 429.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.1075, allocations: 15.92 kB / 429.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.1076, allocations: 23.81 kB / 429.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1077, allocations: 75.59 kB / 429.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1077, allocations: 4 kB / 429.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1077, allocations: 3.938 kB / 429.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1077, allocations: 0 / 429.2 MB, free: 2.402 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.00049/0.1082, allocations: 395 kB / 429.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1083, allocations: 8.031 kB / 429.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.1083, allocations: 34.73 kB / 429.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1084, allocations: 20.88 kB / 429.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1087, allocations: 208.7 kB / 429.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1087, allocations: 8.312 kB / 429.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.1087, allocations: 7.938 kB / 429.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.109, allocations: 134.7 kB / 430 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.109, allocations: 0 / 430 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.109, allocations: 0 / 430 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.109, allocations: 4 kB / 430 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1091, allocations: 27.92 kB / 430.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.1095, allocations: 287.5 kB / 430.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1096, allocations: 94.23 kB / 430.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.1097, allocations: 47.55 kB / 430.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1097, allocations: 4 kB / 430.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1098, allocations: 38.44 kB / 430.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1098, allocations: 0 / 430.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002903/0.1101, allocations: 109.9 kB / 430.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.1102, allocations: 136.5 kB / 430.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.1103, allocations: 150.4 kB / 430.9 MB, free: 444 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1104, allocations: 25.7 kB / 430.9 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.1104, allocations: 92.12 kB / 431 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.1104, allocations: 7.953 kB / 431 MB, free: 308 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.1105, allocations: 33.78 kB / 431.1 MB, free: 268 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1106, allocations: 314.8 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.1107, allocations: 11.98 kB / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.1107, allocations: 44.28 kB / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1108, allocations: 64.22 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1109, allocations: 0 / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001508/0.111, allocations: 81.5 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.111, allocations: 8.156 kB / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.111, allocations: 4 kB / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.111, allocations: 4 kB / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.1111, allocations: 11.98 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1111, allocations: 7.938 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.1112, allocations: 4 kB / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1112, allocations: 4 kB / 431.6 MB, free: 15.67 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 9.926e-05/0.1113, allocations: 129.7 kB / 431.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.1114, allocations: 53.66 kB / 431.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.1114, allocations: 19.86 kB / 431.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1114, allocations: 3.938 kB / 431.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.1114, allocations: 7.938 kB / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1114, allocations: 0 / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1116, allocations: 173.6 kB / 432 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1116, allocations: 0 / 432 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.1117, allocations: 15.98 kB / 432 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1117, allocations: 0 / 432 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1117, allocations: 7.938 kB / 432 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1117, allocations: 0 / 432 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1117, allocations: 8 kB / 432 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.1119, allocations: 198 kB / 432.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.112, allocations: 97.05 kB / 432.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.112, allocations: 0 / 432.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.1121, allocations: 8 kB / 432.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.1121, allocations: 7.922 kB / 432.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.1121, allocations: 8.188 kB / 432.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.782e-05/0.1122, allocations: 114.6 kB / 432.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1122, allocations: 3.938 kB / 432.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1124, allocations: 8 kB / 432.5 MB, free: 14.71 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.0005166/0.1129, allocations: 0.7305 MB / 433.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1131, allocations: 48.09 kB / 433.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1131, allocations: 8.062 kB / 433.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/0.1131, allocations: 4 kB / 433.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1135, allocations: 38.69 kB / 433.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1149, allocations: 1.466 MB / 434.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1153, allocations: 0.7002 MB / 435.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.815e-05/0.1153, allocations: 4 kB / 435.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.1153, allocations: 23.42 kB / 435.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1153, allocations: 0 / 435.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.1388, allocations: 1.893 MB / 437.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/7.766, allocations: 6.938 kB / 437.4 MB, free: 9.699 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.266957904212177]