Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001257/0.001257, allocations: 120.9 kB / 17.79 MB, free: 5.355 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.001326/0.001326, allocations: 186.9 kB / 20.73 MB, free: 2.426 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.374/1.374, 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.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 51.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09988, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003289/0.1032, allocations: 1.911 MB / 419.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1051, allocations: 1.083 MB / 420.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.1052, allocations: 7.938 kB / 420.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.1059, allocations: 151.5 kB / 420.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.1062, allocations: 127.5 kB / 421 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.1068, allocations: 195 kB / 421.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.1071, allocations: 183.5 kB / 421.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1072, allocations: 25.55 kB / 421.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1073, allocations: 79.62 kB / 421.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1074, allocations: 79.61 kB / 421.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.1075, allocations: 12 kB / 421.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1076, allocations: 55.97 kB / 421.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-05/0.1077, allocations: 51.77 kB / 421.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.1078, allocations: 71.55 kB / 421.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.1081, allocations: 211 kB / 422 MB, free: 8.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1081, allocations: 0 / 422 MB, free: 8.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1081, allocations: 0 / 422 MB, free: 8.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1081, allocations: 0 / 422 MB, free: 8.379 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007712/0.1089, allocations: 0.5271 MB / 422.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1089, allocations: 8.031 kB / 422.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.109, allocations: 42.73 kB / 422.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.109, allocations: 24.8 kB / 422.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.1094, allocations: 263 kB / 422.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1094, allocations: 4.359 kB / 422.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1094, allocations: 19.88 kB / 422.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.1097, allocations: 161.8 kB / 423 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1098, allocations: 0 / 423 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1098, allocations: 7.984 kB / 423 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1098, allocations: 0 / 423 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1099, allocations: 35.92 kB / 423.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.1104, allocations: 454.5 kB / 423.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1107, allocations: 134.5 kB / 423.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.26e-05/0.1108, allocations: 51.42 kB / 423.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1108, allocations: 4 kB / 423.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.111, allocations: 97.03 kB / 423.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.111, allocations: 0 / 423.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003825/0.1114, allocations: 157.3 kB / 424 MB, free: 6.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.1115, allocations: 166.6 kB / 424.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.1118, allocations: 268.9 kB / 424.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1118, allocations: 29.7 kB / 424.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/0.1119, allocations: 124.3 kB / 424.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.112, allocations: 23.91 kB / 424.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.112, allocations: 33.7 kB / 424.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1122, allocations: 330.8 kB / 424.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.1122, allocations: 20 kB / 424.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1123, allocations: 90.91 kB / 425 MB, free: 4.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1125, allocations: 93.11 kB / 425.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1125, allocations: 4 kB / 425.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002289/0.1127, allocations: 129.4 kB / 425.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1127, allocations: 4 kB / 425.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1127, allocations: 0 / 425.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1128, allocations: 4 kB / 425.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.1128, allocations: 19.94 kB / 425.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1128, allocations: 8.141 kB / 425.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.1129, allocations: 7.938 kB / 425.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1129, allocations: 4 kB / 425.3 MB, free: 4.699 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.1131, allocations: 147 kB / 425.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.393e-05/0.1132, allocations: 73.48 kB / 425.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.1132, allocations: 21.72 kB / 425.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1132, allocations: 7.984 kB / 425.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1132, allocations: 4.062 kB / 425.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1132, allocations: 3.938 kB / 425.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.1134, allocations: 225.5 kB / 425.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1134, allocations: 0 / 425.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/0.1135, allocations: 11.98 kB / 425.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1135, allocations: 0 / 425.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1135, allocations: 11.94 kB / 425.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1135, allocations: 0 / 425.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1135, allocations: 64 / 425.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1137, allocations: 179.4 kB / 426 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.1138, allocations: 109 kB / 426.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.1139, allocations: 3.984 kB / 426.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.1139, allocations: 8 kB / 426.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.114, allocations: 11.88 kB / 426.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.114, allocations: 11.98 kB / 426.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1142, allocations: 192.5 kB / 426.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1142, allocations: 0 / 426.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1144, allocations: 39.88 kB / 426.3 MB, free: 3.547 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: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001891/0.1163, allocations: 1.025 MB / 427.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1166, allocations: 67.91 kB / 427.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1166, allocations: 4 kB / 427.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.1166, allocations: 28.3 kB / 427.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.1171, allocations: 75.91 kB / 427.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.1195, allocations: 1.999 MB / 429.5 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.1199, allocations: 0.7358 MB / 430.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.169e-05/0.12, allocations: 21.53 kB / 430.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/0.1201, allocations: 47.42 kB / 430.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1201, allocations: 3.938 kB / 430.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.1468, allocations: 4.753 MB / 435.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.114, allocations: 7.984 kB / 435.1 MB, free: 10.85 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.701497793197632]