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.001966/0.001966, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002406/0.002406, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001518/0.001518, allocations: 47.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2529, allocations: 53.36 MB / 431.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003576/0.2564, allocations: 1.948 MB / 433.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.2586, allocations: 1.251 MB / 434.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.2588, allocations: 3.938 kB / 434.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006449/0.2594, allocations: 159.5 kB / 434.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.2598, allocations: 163.4 kB / 434.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.2603, allocations: 170.5 kB / 434.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.2606, allocations: 207.3 kB / 435 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2607, allocations: 21.8 kB / 435 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2608, allocations: 79.69 kB / 435.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.2609, allocations: 91.55 kB / 435.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.261, allocations: 12 kB / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.2611, allocations: 55.97 kB / 435.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.2612, allocations: 51.83 kB / 435.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.329e-05/0.2613, allocations: 75.42 kB / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.2616, allocations: 211.5 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2616, allocations: 4 kB / 435.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2616, allocations: 3.938 kB / 435.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2616, allocations: 4 kB / 435.6 MB, free: 2.336 MB / 334.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.0007813/0.2624, allocations: 462.6 kB / 436.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2625, allocations: 12.03 kB / 436.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.2625, allocations: 38.75 kB / 436.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.2626, allocations: 20.8 kB / 436.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.2629, allocations: 221.1 kB / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.2629, allocations: 8.375 kB / 436.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.2629, allocations: 7.938 kB / 436.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.2633, allocations: 169.8 kB / 436.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2633, allocations: 0 / 436.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2633, allocations: 0 / 436.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.2633, allocations: 4 kB / 436.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.2634, allocations: 35.92 kB / 436.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.264, allocations: 421.7 kB / 437 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.2642, allocations: 134.5 kB / 437.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-05/0.2643, allocations: 51.42 kB / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.2643, allocations: 4 kB / 437.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.2645, allocations: 101.1 kB / 437.3 MB, free: 480 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.2645, allocations: 0 / 437.3 MB, free: 480 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003879/0.2649, allocations: 157.6 kB / 437.4 MB, free: 316 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.265, allocations: 162.6 kB / 437.6 MB, free: 116 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.2654, allocations: 281 kB / 437.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.2654, allocations: 33.7 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.2655, allocations: 116.4 kB / 438 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.2655, allocations: 19.84 kB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.2656, allocations: 37.66 kB / 438.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2657, allocations: 330.8 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.2658, allocations: 24.06 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.2659, allocations: 86.78 kB / 438.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.266, allocations: 89.11 kB / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2661, allocations: 0 / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002634/0.2663, allocations: 133.3 kB / 438.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2663, allocations: 4 kB / 438.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2663, allocations: 0 / 438.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2663, allocations: 4.156 kB / 438.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.2664, allocations: 20 kB / 438.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2664, allocations: 7.922 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.2665, allocations: 11.89 kB / 438.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.2665, allocations: 4 kB / 438.8 MB, free: 14.85 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.0001429/0.2667, allocations: 145.8 kB / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/0.2668, allocations: 69.48 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.267, allocations: 111.4 kB / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.267, allocations: 4 kB / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.267, allocations: 0 / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.267, allocations: 7.922 kB / 439.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.2673, allocations: 204.6 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2673, allocations: 4 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.2673, allocations: 12.06 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2673, allocations: 0 / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2673, allocations: 4 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2673, allocations: 0 / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.2673, allocations: 4 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.2676, allocations: 183.3 kB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.2677, allocations: 27.88 kB / 439.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.2677, allocations: 11.98 kB / 439.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/0.2678, allocations: 4 kB / 439.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.2678, allocations: 19.92 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2678, allocations: 4 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.2681, allocations: 200.5 kB / 439.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2681, allocations: 0 / 439.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.2683, allocations: 35.89 kB / 439.8 MB, free: 13.72 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.002054/0.2704, allocations: 1.024 MB / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.2706, allocations: 71.91 kB / 440.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2706, allocations: 320 / 440.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.483e-05/0.2707, allocations: 31.94 kB / 440.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.2711, allocations: 69.91 kB / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.2736, allocations: 2.031 MB / 443 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.2741, allocations: 0.7359 MB / 443.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.166e-05/0.2741, allocations: 17.48 kB / 443.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.825e-05/0.2742, allocations: 59.41 kB / 443.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2742, allocations: 0 / 443.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.3076, allocations: 5.017 MB / 448.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.64, allocations: 14.62 kB / 448.9 MB, free: 4.703 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.253352005966008]