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.001452/0.001452, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001595/0.001595, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001612/0.001612, allocations: 43.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2712, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003378/0.2746, allocations: 1.902 MB / 433 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.2768, allocations: 1.161 MB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.2769, allocations: 7.938 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006828/0.2776, allocations: 163.4 kB / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.278, allocations: 155.4 kB / 434.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.2785, allocations: 171.5 kB / 434.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.2788, allocations: 195.4 kB / 434.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2789, allocations: 25.61 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.279, allocations: 87.62 kB / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.2791, allocations: 79.56 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.2791, allocations: 12 kB / 435 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.2793, allocations: 63.94 kB / 435.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.2794, allocations: 39.84 kB / 435.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.2794, allocations: 63.53 kB / 435.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.2798, allocations: 213 kB / 435.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2798, allocations: 4 kB / 435.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2798, allocations: 0 / 435.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.2798, allocations: 0 / 435.4 MB, free: 2.312 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.0007526/0.2805, allocations: 469.3 kB / 435.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2805, allocations: 8.031 kB / 435.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.2806, allocations: 42.73 kB / 435.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.2806, allocations: 20.8 kB / 435.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.281, allocations: 209.2 kB / 436.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.281, allocations: 4.375 kB / 436.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.281, allocations: 15.92 kB / 436.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.2814, allocations: 158.7 kB / 436.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2814, allocations: 3.984 kB / 436.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2814, allocations: 11.88 kB / 436.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2814, allocations: 4 kB / 436.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.2815, allocations: 35.92 kB / 436.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.2821, allocations: 413.7 kB / 436.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.2823, allocations: 130.5 kB / 436.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.2824, allocations: 59.42 kB / 436.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.2824, allocations: 0 / 436.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.2826, allocations: 97.03 kB / 437 MB, free: 468 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.2826, allocations: 0 / 437 MB, free: 468 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003849/0.283, allocations: 165.4 kB / 437.2 MB, free: 296 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/0.2831, allocations: 132.9 kB / 437.3 MB, free: 132 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.2834, allocations: 285 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.2834, allocations: 33.69 kB / 437.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.2835, allocations: 116.4 kB / 437.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.2835, allocations: 15.91 kB / 437.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.2836, allocations: 37.66 kB / 437.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2837, allocations: 326.8 kB / 438.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.2838, allocations: 27.98 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.2839, allocations: 103.7 kB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.2841, allocations: 93.11 kB / 438.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2841, allocations: 0 / 438.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002315/0.2843, allocations: 129.8 kB / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2843, allocations: 8 kB / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2843, allocations: 0 / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2844, allocations: 4 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.2844, allocations: 16.14 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2844, allocations: 7.938 kB / 438.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.2845, allocations: 19.83 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.2845, allocations: 4 kB / 438.5 MB, free: 14.84 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.0001279/0.2847, allocations: 141.8 kB / 438.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/0.2848, allocations: 73.48 kB / 438.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.285, allocations: 119.3 kB / 438.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.285, allocations: 0 / 438.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.285, allocations: 8.062 kB / 438.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.285, allocations: 7.922 kB / 438.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.2852, allocations: 188.6 kB / 439.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2852, allocations: 4 kB / 439.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.2853, allocations: 7.938 kB / 439.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2853, allocations: 4 kB / 439.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2853, allocations: 3.984 kB / 439.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2853, allocations: 4 kB / 439.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2853, allocations: 0 / 439.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.2856, allocations: 191.3 kB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.2856, allocations: 39.77 kB / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.2857, allocations: 8 kB / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.2857, allocations: 11.98 kB / 439.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.2858, allocations: 7.938 kB / 439.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.2858, allocations: 11.98 kB / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.2861, allocations: 204.5 kB / 439.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2861, allocations: 0 / 439.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.2864, allocations: 28 kB / 439.6 MB, free: 13.7 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 (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.002077/0.2884, allocations: 1.071 MB / 440.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2887, allocations: 75.91 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2887, allocations: 0 / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.2887, allocations: 35.91 kB / 440.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.2891, allocations: 63.36 kB / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.2915, allocations: 2.037 MB / 442.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2916, allocations: 123.6 kB / 443 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.801e-05/0.2917, allocations: 25.62 kB / 443 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.2918, allocations: 55.41 kB / 443.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2918, allocations: 0 / 443.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.3241, allocations: 5.561 MB / 448.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.45, allocations: 14.39 kB / 448.6 MB, free: 4.727 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 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.csv","/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] "Error: Could not read variable sample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.125149136874825]