Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001869/0.001869, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002192/0.002192, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.443/1.443, 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.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 48.02 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1041, allocations: 53.32 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003897/0.108, allocations: 1.931 MB / 428.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1103, allocations: 1.231 MB / 429.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.1104, allocations: 7.938 kB / 429.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006372/0.1111, allocations: 155.5 kB / 429.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.1115, allocations: 155.4 kB / 429.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.1121, allocations: 179 kB / 430 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.1124, allocations: 195.4 kB / 430.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1125, allocations: 21.67 kB / 430.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1126, allocations: 87.56 kB / 430.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1128, allocations: 87.55 kB / 430.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.1128, allocations: 8 kB / 430.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.113, allocations: 59.97 kB / 430.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.113, allocations: 47.83 kB / 430.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.842e-05/0.1131, allocations: 79.42 kB / 430.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.1135, allocations: 219 kB / 430.7 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1135, allocations: 0 / 430.7 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1135, allocations: 0 / 430.7 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1135, allocations: 0 / 430.7 MB, free: 360 kB / 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.1905/0.304, allocations: 0.5242 MB / 431.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3041, allocations: 8.875 kB / 431.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.3041, allocations: 43.67 kB / 431.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.3042, allocations: 22.55 kB / 431.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3045, allocations: 273.3 kB / 431.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3045, allocations: 8.875 kB / 431.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.3046, allocations: 6.016 kB / 431.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.3049, allocations: 167 kB / 431.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3049, allocations: 6.062 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3049, allocations: 1.906 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3049, allocations: 2.281 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.3051, allocations: 38.91 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.3055, allocations: 450.7 kB / 432.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.3057, allocations: 126.6 kB / 432.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.3058, allocations: 57.75 kB / 432.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.3059, allocations: 5.562 kB / 432.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.306, allocations: 90.62 kB / 432.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.306, allocations: 0 / 432.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003901/0.3064, allocations: 159.6 kB / 432.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.3065, allocations: 164.4 kB / 432.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3067, allocations: 278.5 kB / 433.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3068, allocations: 31.95 kB / 433.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.3068, allocations: 117.9 kB / 433.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.3068, allocations: 25.97 kB / 433.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3069, allocations: 34.31 kB / 433.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.307, allocations: 334.8 kB / 433.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.307, allocations: 22.27 kB / 433.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.337e-05/0.3071, allocations: 81.75 kB / 433.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.3072, allocations: 87.62 kB / 433.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3072, allocations: 0 / 433.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002194/0.3074, allocations: 133.4 kB / 434 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3075, allocations: 5.75 kB / 434 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3075, allocations: 3.688 kB / 434 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3075, allocations: 1.281 kB / 434 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.3076, allocations: 18.73 kB / 434 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3076, allocations: 4.312 kB / 434 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.3076, allocations: 9.5 kB / 434 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3077, allocations: 9.641 kB / 434 MB, free: 9.43 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 9.703e-05/0.3078, allocations: 155 kB / 434.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.3078, allocations: 71.41 kB / 434.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.3079, allocations: 27.77 kB / 434.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3079, allocations: 3.344 kB / 434.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3079, allocations: 2.734 kB / 434.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3079, allocations: 7.219 kB / 434.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.308, allocations: 232.6 kB / 434.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.308, allocations: 0.9375 kB / 434.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.3081, allocations: 4.438 kB / 434.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3081, allocations: 1.281 kB / 434.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3081, allocations: 3.156 kB / 434.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3081, allocations: 4.312 kB / 434.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3081, allocations: 1.188 kB / 434.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.3083, allocations: 183.3 kB / 434.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.3084, allocations: 107.8 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.3084, allocations: 5.75 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.3085, allocations: 7.953 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.3085, allocations: 8.547 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3085, allocations: 5.578 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.3087, allocations: 200.4 kB / 435 MB, free: 8.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3087, allocations: 5 kB / 435.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.309, allocations: 33.06 kB / 435.1 MB, free: 8.77 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.001732/0.3107, allocations: 1.024 MB / 436.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.3109, allocations: 79.92 kB / 436.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3109, allocations: 0.7812 kB / 436.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/0.311, allocations: 29.28 kB / 436.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.3114, allocations: 73.67 kB / 436.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.3133, allocations: 2.033 MB / 438.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.3135, allocations: 0.7357 MB / 439.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.281e-05/0.3135, allocations: 25.62 kB / 439.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.3136, allocations: 51.02 kB / 439.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3136, allocations: 0 / 439.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.3461, allocations: 4.849 MB / 444 MB, free: 5.055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.194, allocations: 1.219 kB / 444 MB, free: 5.055 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.65805351990275]