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.00126/0.00126, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001383/0.001383, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.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 0.001488/0.001488, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2824, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003994/0.2864, allocations: 1.908 MB / 433 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.2889, allocations: 1.173 MB / 434.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.2891, allocations: 11.88 kB / 434.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006731/0.2898, allocations: 159.5 kB / 434.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.2902, allocations: 167.4 kB / 434.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.2908, allocations: 178.4 kB / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.2912, allocations: 199.4 kB / 434.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.2913, allocations: 29.58 kB / 434.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.2915, allocations: 83.64 kB / 435 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.2916, allocations: 87.55 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.2916, allocations: 8 kB / 435.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.2918, allocations: 71.95 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.461e-05/0.2919, allocations: 39.84 kB / 435.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.292, allocations: 55.61 kB / 435.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.2924, allocations: 228.8 kB / 435.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2924, allocations: 0 / 435.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2924, allocations: 0 / 435.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2924, allocations: 0 / 435.5 MB, free: 2.25 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.0008384/0.2932, allocations: 462.7 kB / 435.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2933, allocations: 15.97 kB / 435.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.2933, allocations: 34.75 kB / 436 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.2934, allocations: 28.8 kB / 436 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.2937, allocations: 217.1 kB / 436.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.2937, allocations: 8.312 kB / 436.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.2938, allocations: 11.94 kB / 436.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.2941, allocations: 166.6 kB / 436.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2941, allocations: 4 kB / 436.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.2941, allocations: 8 kB / 436.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2942, allocations: 0 / 436.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.2943, allocations: 35.92 kB / 436.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.2948, allocations: 338.4 kB / 436.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.295, allocations: 130.5 kB / 436.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.2951, allocations: 59.42 kB / 436.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2951, allocations: 3.984 kB / 436.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.2953, allocations: 79.33 kB / 437 MB, free: 488 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.2953, allocations: 0 / 437 MB, free: 488 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003902/0.2957, allocations: 161.4 kB / 437.2 MB, free: 320 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.287e-05/0.2958, allocations: 136.5 kB / 437.3 MB, free: 152 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.2961, allocations: 285.8 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.2961, allocations: 30.08 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.2962, allocations: 128.4 kB / 437.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.2963, allocations: 15.84 kB / 437.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.2963, allocations: 33.7 kB / 437.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2965, allocations: 334.8 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.2965, allocations: 23.98 kB / 438.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.2967, allocations: 100.8 kB / 438.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.2968, allocations: 109.9 kB / 438.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2968, allocations: 3.938 kB / 438.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002371/0.2971, allocations: 129.4 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2971, allocations: 8 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2971, allocations: 0 / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2971, allocations: 4 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.2972, allocations: 20.11 kB / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2972, allocations: 4 kB / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.2973, allocations: 11.94 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.2973, allocations: 11.98 kB / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,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.000137/0.2974, allocations: 142.7 kB / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.2976, allocations: 77.44 kB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.2978, allocations: 119.3 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2978, allocations: 4 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2978, allocations: 4.094 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2978, allocations: 3.938 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.298, allocations: 200.7 kB / 439.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.298, allocations: 3.984 kB / 439.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.2981, allocations: 8 kB / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2981, allocations: 0 / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2981, allocations: 11.94 kB / 439.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2981, allocations: 0 / 439.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2981, allocations: 64 / 439.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.2984, allocations: 183.5 kB / 439.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.2984, allocations: 35.89 kB / 439.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.2985, allocations: 3.984 kB / 439.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.2985, allocations: 8 kB / 439.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.2986, allocations: 11.92 kB / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.2986, allocations: 7.938 kB / 439.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.2988, allocations: 209.1 kB / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2988, allocations: 0 / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.2991, allocations: 35.89 kB / 439.6 MB, free: 13.68 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,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.002087/0.3012, allocations: 1.059 MB / 440.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.3014, allocations: 79.84 kB / 440.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3014, allocations: 0 / 440.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.862e-05/0.3015, allocations: 31.92 kB / 440.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.3019, allocations: 82.89 kB / 440.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.3043, allocations: 2.066 MB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.3044, allocations: 119.6 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.174e-05/0.3045, allocations: 25.62 kB / 443 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.3046, allocations: 55.42 kB / 443.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3046, allocations: 0 / 443.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/0.3483, allocations: 5.806 MB / 448.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.15, allocations: 3.562 kB / 448.9 MB, free: 4.449 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/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: 13.755982365022646]