Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001939/0.001939, allocations: 107.5 kB / 20.44 MB, free: 1.355 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.001974/0.001974, allocations: 192.7 kB / 23.71 MB, free: 4.555 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.439/1.439, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 47.92 kB / 370.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2739, allocations: 52.18 MB / 422.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004137/0.2781, allocations: 1.872 MB / 424.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.2801, allocations: 1.009 MB / 425.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.2803, allocations: 7.875 kB / 425.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007138/0.281, allocations: 163.5 kB / 425.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.2814, allocations: 115.5 kB / 425.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.2821, allocations: 202.4 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.2825, allocations: 179.5 kB / 426.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.2826, allocations: 25.53 kB / 426.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.2828, allocations: 75.69 kB / 426.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.283, allocations: 79.62 kB / 426.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.283, allocations: 8 kB / 426.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.2832, allocations: 67.88 kB / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.2833, allocations: 39.84 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.2833, allocations: 51.62 kB / 426.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.2838, allocations: 208.9 kB / 426.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2838, allocations: 0 / 426.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2838, allocations: 0 / 426.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.2838, allocations: 0 / 426.6 MB, free: 10.33 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.001089/0.2849, allocations: 446.7 kB / 427.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.2849, allocations: 16.03 kB / 427.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.285, allocations: 34.75 kB / 427.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.2851, allocations: 20.8 kB / 427.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.2855, allocations: 209.2 kB / 427.4 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2855, allocations: 384 / 427.4 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.2855, allocations: 15.94 kB / 427.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.2859, allocations: 140.6 kB / 427.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2859, allocations: 3.984 kB / 427.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2859, allocations: 4 kB / 427.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2859, allocations: 0 / 427.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.2861, allocations: 43.91 kB / 427.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.2866, allocations: 329.5 kB / 427.9 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.2868, allocations: 107.9 kB / 428 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.436e-05/0.2869, allocations: 46.5 kB / 428 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2869, allocations: 4 kB / 428 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.2871, allocations: 71.39 kB / 428.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.2871, allocations: 0 / 428.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.00037/0.2875, allocations: 149.4 kB / 428.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.2875, allocations: 106.8 kB / 428.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.2878, allocations: 264.9 kB / 428.6 MB, free: 8.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.2879, allocations: 29.7 kB / 428.6 MB, free: 8.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.288, allocations: 120.3 kB / 428.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.2881, allocations: 15.91 kB / 428.8 MB, free: 7.965 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.2881, allocations: 33.64 kB / 428.8 MB, free: 7.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2883, allocations: 326.8 kB / 429.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.2883, allocations: 23.98 kB / 429.1 MB, free: 7.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.2885, allocations: 90.78 kB / 429.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.2886, allocations: 76.22 kB / 429.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2886, allocations: 8.031 kB / 429.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002259/0.2888, allocations: 117.4 kB / 429.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2888, allocations: 10.19 kB / 429.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2889, allocations: 0 / 429.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.2889, allocations: 4 kB / 429.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.132e-05/0.289, allocations: 11.94 kB / 429.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.289, allocations: 4 kB / 429.5 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.667e-05/0.289, allocations: 23.81 kB / 429.5 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.289, allocations: 12.38 kB / 429.5 MB, free: 7.18 MB / 334.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.000137/0.2892, allocations: 141.8 kB / 429.6 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.2893, allocations: 61.5 kB / 429.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.2895, allocations: 115.4 kB / 429.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2895, allocations: 0 / 429.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2895, allocations: 0 / 429.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2895, allocations: 11.92 kB / 429.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.2898, allocations: 176.7 kB / 430 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2898, allocations: 4 kB / 430 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.2898, allocations: 12 kB / 430 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.2898, allocations: 0 / 430 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2898, allocations: 8 kB / 430 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2898, allocations: 0 / 430 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2898, allocations: 0 / 430 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.2901, allocations: 166.5 kB / 430.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.08e-05/0.2902, allocations: 35.83 kB / 430.2 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.2902, allocations: 7.922 kB / 430.2 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.2903, allocations: 4 kB / 430.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.2903, allocations: 15.92 kB / 430.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2903, allocations: 8 kB / 430.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.2905, allocations: 196.5 kB / 430.4 MB, free: 6.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2905, allocations: 0 / 430.4 MB, free: 6.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.2908, allocations: 24 kB / 430.5 MB, free: 6.121 MB / 334.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.002108/0.2929, allocations: 1.038 MB / 431.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.2931, allocations: 72.09 kB / 431.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2931, allocations: 4.062 kB / 431.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.2932, allocations: 27.98 kB / 431.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.2936, allocations: 68.86 kB / 431.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.2961, allocations: 1.937 MB / 433.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.2962, allocations: 123.4 kB / 433.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.242e-05/0.2963, allocations: 25.61 kB / 433.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.2964, allocations: 47.42 kB / 433.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2964, allocations: 4 kB / 433.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/0.3388, allocations: 5.261 MB / 439.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.28, allocations: 9.672 kB / 439.1 MB, free: 13.6 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.872269231826067]