Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.0008741/0.0008741, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001059/0.001059, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9074/0.9074, 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.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.419e-05, allocations: 10.22 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002345/0.002369, allocations: 1.918 MB / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.003641, allocations: 1.173 MB / 327.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.003748, allocations: 7.938 kB / 327.7 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.004275, allocations: 163.1 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.004551, allocations: 163.3 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.004896, allocations: 183.3 kB / 328.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.0051, allocations: 199.3 kB / 328.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.005199, allocations: 29.78 kB / 328.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.005309, allocations: 107.7 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.005398, allocations: 71.78 kB / 328.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.005418, allocations: 15.94 kB / 328.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.00552, allocations: 55.91 kB / 328.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.005576, allocations: 51.83 kB / 328.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.005623, allocations: 39.86 kB / 328.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.005863, allocations: 219.3 kB / 328.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.005869, allocations: 3.984 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.00587, allocations: 0 / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.005874, allocations: 0 / 328.9 MB, free: 11.55 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.0005383/0.006413, allocations: 469.8 kB / 329.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.006446, allocations: 8.031 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.006474, allocations: 38.75 kB / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.006512, allocations: 20.8 kB / 329.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.006757, allocations: 224.7 kB / 329.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.006776, allocations: 12.36 kB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.006788, allocations: 4.375 kB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.007044, allocations: 167 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.007052, allocations: 0 / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.007061, allocations: 4 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.007067, allocations: 4 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.1e-05/0.007138, allocations: 43.91 kB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.00749, allocations: 334.3 kB / 330.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.007643, allocations: 126.5 kB / 330.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.0077, allocations: 55.41 kB / 330.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.007719, allocations: 4 kB / 330.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.007836, allocations: 83.33 kB / 330.5 MB, free: 9.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.007837, allocations: 0 / 330.5 MB, free: 9.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002489/0.008086, allocations: 165.4 kB / 330.7 MB, free: 9.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.008143, allocations: 140.5 kB / 330.8 MB, free: 9.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.008331, allocations: 277.9 kB / 331.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.008346, allocations: 29.7 kB / 331.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.00841, allocations: 128.4 kB / 331.2 MB, free: 9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.008425, allocations: 11.91 kB / 331.2 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.008459, allocations: 30.08 kB / 331.3 MB, free: 8.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/0.00854, allocations: 334.8 kB / 331.6 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.358e-05/0.008574, allocations: 19.98 kB / 331.6 MB, free: 8.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.008627, allocations: 72.27 kB / 331.7 MB, free: 8.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.008693, allocations: 57.64 kB / 331.7 MB, free: 8.449 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008695, allocations: 256 / 331.7 MB, free: 8.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001063/0.008802, allocations: 109.5 kB / 331.8 MB, free: 8.336 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.008812, allocations: 4 kB / 331.9 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008817, allocations: 0 / 331.9 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.008826, allocations: 8 kB / 331.9 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.008875, allocations: 12 kB / 331.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.008879, allocations: 0 / 331.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.008912, allocations: 11.92 kB / 331.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.008917, allocations: 0 / 331.9 MB, free: 8.301 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.002e-05/0.008997, allocations: 142.8 kB / 332 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.009056, allocations: 85.47 kB / 332.1 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.009195, allocations: 119.4 kB / 332.2 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.009197, allocations: 4.094 kB / 332.2 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.009201, allocations: 0 / 332.2 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.009205, allocations: 4 kB / 332.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.00933, allocations: 196.6 kB / 332.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.009331, allocations: 0 / 332.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.009348, allocations: 8 kB / 332.4 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.00935, allocations: 0 / 332.4 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.009358, allocations: 4 kB / 332.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.009359, allocations: 0 / 332.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.009363, allocations: 7.938 kB / 332.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.009512, allocations: 183.4 kB / 332.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.00956, allocations: 35.83 kB / 332.7 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.009577, allocations: 8 kB / 332.7 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.314e-05/0.009611, allocations: 4 kB / 332.7 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.009672, allocations: 3.984 kB / 332.7 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.009689, allocations: 12 kB / 332.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.009831, allocations: 205.2 kB / 332.9 MB, free: 7.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009831, allocations: 0 / 332.9 MB, free: 7.219 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00017/0.01, allocations: 31.92 kB / 332.9 MB, free: 7.188 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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.0009434/0.01094, allocations: 1.067 MB / 334 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01108, allocations: 63.91 kB / 334 MB, free: 6.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01108, allocations: 0 / 334 MB, free: 6.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.01112, allocations: 27.92 kB / 334.1 MB, free: 6.176 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.01138, allocations: 83.64 kB / 334.2 MB, free: 6.102 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.01276, allocations: 1.96 MB / 336.1 MB, free: 4.023 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.42e-05/0.01284, allocations: 127.6 kB / 336.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.01289, allocations: 21.48 kB / 336.3 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.01296, allocations: 60.47 kB / 336.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01296, allocations: 0 / 336.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.03149, allocations: 5.862 MB / 342.2 MB, free: 14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.002, allocations: 2.75 kB / 342.2 MB, free: 14 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79247e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.BackSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! Error: Could not read variable backSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv. Warning: Get data of variable backSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.860230931080878]