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.001926/0.001926, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.0009513/0.0009513, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8799/0.8799, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.583e-06/1.583e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.591e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002421/0.002436, allocations: 1.898 MB / 326.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.003862, allocations: 1.173 MB / 327.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.003977, allocations: 4 kB / 327.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.004489, allocations: 155.4 kB / 327.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.004796, allocations: 159.3 kB / 328 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.005144, allocations: 191.1 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.005365, allocations: 199.4 kB / 328.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.005464, allocations: 21.8 kB / 328.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.00558, allocations: 103.7 kB / 328.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.005671, allocations: 71.73 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.00569, allocations: 8 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.005801, allocations: 63.89 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.005856, allocations: 47.83 kB / 328.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.005903, allocations: 39.86 kB / 328.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.006141, allocations: 223.2 kB / 328.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.006143, allocations: 0 / 328.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006144, allocations: 4 kB / 328.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.006148, allocations: 0 / 328.9 MB, free: 11.59 MB / 298.7 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.0005373/0.006685, allocations: 461.9 kB / 329.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.006719, allocations: 8.031 kB / 329.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.00675, allocations: 42.73 kB / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.006789, allocations: 20.8 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.007027, allocations: 208.8 kB / 329.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.007041, allocations: 16.36 kB / 329.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.007052, allocations: 4.375 kB / 329.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.007493, allocations: 163 kB / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.007501, allocations: 0 / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.00751, allocations: 4 kB / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.007514, allocations: 0 / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.118e-05/0.007586, allocations: 43.91 kB / 329.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.007954, allocations: 405.7 kB / 330.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.008103, allocations: 134.5 kB / 330.4 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.008165, allocations: 59.3 kB / 330.4 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.008183, allocations: 4 kB / 330.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.008298, allocations: 89.09 kB / 330.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.008299, allocations: 3.938 kB / 330.5 MB, free: 9.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002497/0.008548, allocations: 169.4 kB / 330.7 MB, free: 9.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.008602, allocations: 136.5 kB / 330.8 MB, free: 9.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.008787, allocations: 281.8 kB / 331.1 MB, free: 9.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.008801, allocations: 33.7 kB / 331.1 MB, free: 9.082 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.008858, allocations: 120.3 kB / 331.3 MB, free: 8.957 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.008877, allocations: 15.91 kB / 331.3 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.008909, allocations: 29.66 kB / 331.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.008986, allocations: 330.8 kB / 331.6 MB, free: 8.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.009022, allocations: 24.36 kB / 331.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.009074, allocations: 77.12 kB / 331.7 MB, free: 8.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.009e-05/0.009154, allocations: 66.5 kB / 331.8 MB, free: 8.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.009155, allocations: 0 / 331.8 MB, free: 8.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00011/0.009265, allocations: 101.8 kB / 331.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.009277, allocations: 8 kB / 331.9 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.009281, allocations: 64 / 331.9 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.009292, allocations: 4 kB / 331.9 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.963e-05/0.009341, allocations: 16.08 kB / 331.9 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.009345, allocations: 4 kB / 331.9 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.709e-05/0.009383, allocations: 8 kB / 331.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.009389, allocations: 7.984 kB / 331.9 MB, free: 8.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.183e-05/0.009471, allocations: 145.7 kB / 332.1 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.009523, allocations: 65.55 kB / 332.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.009662, allocations: 123.4 kB / 332.3 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.009665, allocations: 0 / 332.3 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.009668, allocations: 4 kB / 332.3 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.009672, allocations: 4.062 kB / 332.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.009799, allocations: 200.5 kB / 332.5 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.0098, allocations: 4 kB / 332.5 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.009816, allocations: 4 kB / 332.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009819, allocations: 4 kB / 332.5 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.009825, allocations: 0 / 332.5 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.009827, allocations: 7.938 kB / 332.5 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.009829, allocations: 3.938 kB / 332.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.009976, allocations: 183.5 kB / 332.7 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.01002, allocations: 27.88 kB / 332.7 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.01005, allocations: 12.19 kB / 332.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.149e-05/0.01008, allocations: 4 kB / 332.7 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.01011, allocations: 19.91 kB / 332.7 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01012, allocations: 4 kB / 332.7 MB, free: 7.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.01024, allocations: 205.2 kB / 332.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 0 / 332.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001748/0.01042, allocations: 31.92 kB / 333 MB, free: 7.117 MB / 298.7 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 (12): * Single equations (assignments): 10 * 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.0009429/0.01136, allocations: 1.051 MB / 334 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.0115, allocations: 75.84 kB / 334.1 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.0115, allocations: 0 / 334.1 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/0.01155, allocations: 43.84 kB / 334.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.01181, allocations: 56.78 kB / 334.2 MB, free: 6.043 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.01324, allocations: 1.973 MB / 336.2 MB, free: 3.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.529e-05/0.01332, allocations: 123.6 kB / 336.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.01337, allocations: 25.47 kB / 336.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.01344, allocations: 56.48 kB / 336.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01344, allocations: 4 kB / 336.4 MB, free: 3.723 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.03009, allocations: 5.665 MB / 342 MB, free: 14.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/6.783, allocations: 17.89 kB / 342.1 MB, free: 14.11 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/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: 8.443060015328228]