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.001259/0.001259, allocations: 109.5 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.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.001406/0.001406, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.407/1.407, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.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.001507/0.001507, allocations: 39.94 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2598, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00345/0.2632, allocations: 1.931 MB / 424.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.2652, allocations: 1.091 MB / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2654, allocations: 11.94 kB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006623/0.266, allocations: 155.5 kB / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.2663, allocations: 115.6 kB / 425.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000596/0.2669, allocations: 214.6 kB / 426.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.2672, allocations: 179.5 kB / 426.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2673, allocations: 33.66 kB / 426.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.2674, allocations: 79.64 kB / 426.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.2676, allocations: 75.67 kB / 426.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.2676, allocations: 12 kB / 426.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.2678, allocations: 63.95 kB / 426.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-05/0.2678, allocations: 47.72 kB / 426.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/0.2679, allocations: 75.53 kB / 426.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.2683, allocations: 203.5 kB / 426.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2683, allocations: 0 / 426.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2683, allocations: 0 / 426.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.2683, allocations: 4 kB / 426.9 MB, free: 10.3 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.0007927/0.2691, allocations: 462.6 kB / 427.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2691, allocations: 8.031 kB / 427.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.2692, allocations: 42.75 kB / 427.4 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.2692, allocations: 20.8 kB / 427.4 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.2696, allocations: 213.1 kB / 427.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2696, allocations: 8.312 kB / 427.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.2696, allocations: 15.94 kB / 427.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.27, allocations: 163 kB / 427.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.27, allocations: 0 / 427.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.27, allocations: 4 kB / 427.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.27, allocations: 8 kB / 427.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.2701, allocations: 31.92 kB / 427.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.2707, allocations: 421.7 kB / 428.3 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.271, allocations: 130.5 kB / 428.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.271, allocations: 55.42 kB / 428.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.2711, allocations: 7.984 kB / 428.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.2713, allocations: 89.05 kB / 428.5 MB, free: 8.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.2713, allocations: 0 / 428.5 MB, free: 8.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004074/0.2717, allocations: 169.3 kB / 428.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.2718, allocations: 162.2 kB / 428.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.2721, allocations: 264.9 kB / 429.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2721, allocations: 29.7 kB / 429.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.2722, allocations: 120.4 kB / 429.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.2722, allocations: 23.83 kB / 429.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.2723, allocations: 34.09 kB / 429.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2724, allocations: 330.8 kB / 429.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.729e-05/0.2725, allocations: 27.92 kB / 429.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2726, allocations: 74.86 kB / 429.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.2728, allocations: 93.11 kB / 429.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2728, allocations: 0 / 429.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002248/0.273, allocations: 129.5 kB / 430 MB, free: 6.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.273, allocations: 6.5 kB / 430 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.273, allocations: 11.97 kB / 430 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.273, allocations: 0 / 430 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.2731, allocations: 23.92 kB / 430 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2731, allocations: 0 / 430 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.2732, allocations: 11.94 kB / 430 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2732, allocations: 4 kB / 430 MB, free: 6.828 MB / 334.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.0001415/0.2734, allocations: 141.9 kB / 430.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-05/0.2735, allocations: 73.48 kB / 430.2 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.2737, allocations: 115.2 kB / 430.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.2737, allocations: 4 kB / 430.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2737, allocations: 384 / 430.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2737, allocations: 3.938 kB / 430.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.2739, allocations: 204.6 kB / 430.5 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2739, allocations: 4 kB / 430.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.2739, allocations: 8 kB / 430.6 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.274, allocations: 4.062 kB / 430.6 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.274, allocations: 8 kB / 430.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.274, allocations: 0 / 430.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.274, allocations: 0 / 430.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.2742, allocations: 171.4 kB / 430.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.2743, allocations: 35.89 kB / 430.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.2743, allocations: 4 kB / 430.8 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.2744, allocations: 11.98 kB / 430.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.2744, allocations: 7.922 kB / 430.8 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2745, allocations: 8 kB / 430.8 MB, free: 5.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.2747, allocations: 196.4 kB / 431 MB, free: 5.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2747, allocations: 0 / 431 MB, free: 5.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.2749, allocations: 35.89 kB / 431 MB, free: 5.719 MB / 334.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.001905/0.2768, allocations: 1.009 MB / 432 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.2771, allocations: 83.84 kB / 432.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2771, allocations: 0 / 432.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.2771, allocations: 23.98 kB / 432.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.2776, allocations: 79.55 kB / 432.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.2799, allocations: 1.988 MB / 434.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.2802, allocations: 0.7359 MB / 434.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.742e-05/0.2803, allocations: 29.45 kB / 435 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.764e-05/0.2804, allocations: 47.42 kB / 435 MB, free: 1.691 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2804, allocations: 4 kB / 435 MB, free: 1.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.3112, allocations: 4.923 MB / 439.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.59, allocations: 11.98 kB / 440 MB, free: 12.84 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.141121499000292]