Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001471/0.001471, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001475/0.001475, allocations: 211.4 kB / 23.73 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 51.91 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2691, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003813/0.2729, allocations: 1.875 MB / 433 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.2753, allocations: 1.161 MB / 434.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.2754, allocations: 7.875 kB / 434.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.2761, allocations: 159.5 kB / 434.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.2765, allocations: 155.4 kB / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.2769, allocations: 178.5 kB / 434.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.2772, allocations: 195.4 kB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2774, allocations: 21.55 kB / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2775, allocations: 79.62 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.2776, allocations: 75.67 kB / 435 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.2776, allocations: 8 kB / 435 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.2778, allocations: 63.91 kB / 435 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.2779, allocations: 47.83 kB / 435.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.278, allocations: 55.61 kB / 435.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.2783, allocations: 212.9 kB / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2783, allocations: 0 / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2783, allocations: 0 / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2784, allocations: 0 / 435.4 MB, free: 2.352 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008529/0.2792, allocations: 446.7 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2792, allocations: 12.03 kB / 435.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.2793, allocations: 38.73 kB / 435.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.2793, allocations: 24.8 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.2797, allocations: 209.1 kB / 436.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.2797, allocations: 8.375 kB / 436.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.2797, allocations: 7.938 kB / 436.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.28, allocations: 145.9 kB / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2801, allocations: 0 / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2801, allocations: 0 / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.2801, allocations: 4 kB / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.2802, allocations: 39.92 kB / 436.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.2807, allocations: 329.5 kB / 436.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.2809, allocations: 103.9 kB / 436.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.281, allocations: 42.5 kB / 436.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.281, allocations: 7.984 kB / 436.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.2812, allocations: 71.39 kB / 436.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2812, allocations: 0 / 436.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003664/0.2815, allocations: 149.5 kB / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.2816, allocations: 118.7 kB / 437.1 MB, free: 420 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.2819, allocations: 277 kB / 437.3 MB, free: 136 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.2819, allocations: 25.7 kB / 437.4 MB, free: 104 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2821, allocations: 116.2 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.2821, allocations: 19.84 kB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.2821, allocations: 29.67 kB / 437.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2823, allocations: 334.8 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.2823, allocations: 20.25 kB / 437.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.2825, allocations: 90.83 kB / 438 MB, free: 15.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2826, allocations: 80.22 kB / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2826, allocations: 0 / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002249/0.2828, allocations: 121.4 kB / 438.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2828, allocations: 8.156 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2828, allocations: 4 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2829, allocations: 0 / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.2829, allocations: 15.94 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2829, allocations: 4.297 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.283, allocations: 19.83 kB / 438.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.283, allocations: 8 kB / 438.2 MB, free: 15.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001347/0.2832, allocations: 141.8 kB / 438.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.2832, allocations: 61.55 kB / 438.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.2835, allocations: 127.5 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2835, allocations: 4 kB / 438.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2835, allocations: 0 / 438.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2835, allocations: 3.938 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.2837, allocations: 188.7 kB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2837, allocations: 4 kB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.2837, allocations: 11.92 kB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2837, allocations: 0 / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2838, allocations: 4 kB / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2838, allocations: 3.938 kB / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2838, allocations: 4 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.284, allocations: 162.6 kB / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.2841, allocations: 39.77 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.2841, allocations: 4 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.2842, allocations: 4 kB / 439 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.2842, allocations: 11.92 kB / 439 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.2842, allocations: 4 kB / 439 MB, free: 14.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.2844, allocations: 200.5 kB / 439.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2844, allocations: 4 kB / 439.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000246/0.2847, allocations: 27.98 kB / 439.2 MB, free: 14.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (10): * Single equations (assignments): 8 * 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.002112/0.2868, allocations: 1.044 MB / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.287, allocations: 71.91 kB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.287, allocations: 0 / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.241e-05/0.2871, allocations: 23.98 kB / 440.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.2875, allocations: 71.2 kB / 440.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.2899, allocations: 1.971 MB / 442.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.29, allocations: 123.2 kB / 442.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.67e-05/0.2901, allocations: 25.62 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.275e-05/0.2902, allocations: 55.41 kB / 442.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2902, allocations: 0 / 442.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.3247, allocations: 5.35 MB / 447.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.5, allocations: 6.469 kB / 447.9 MB, free: 5.461 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.95804e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.064328945241868]