Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001859/0.001859, allocations: 112.2 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.002107/0.002107, allocations: 189.9 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.45/1.45, allocations: 225.6 MB / 252.5 MB, free: 13.05 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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 47.92 kB / 370.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2998, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003651/0.3034, allocations: 1.943 MB / 424.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.3054, allocations: 1.103 MB / 425.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.3055, allocations: 11.88 kB / 425.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.3062, allocations: 155.5 kB / 425.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.3065, allocations: 127.5 kB / 426 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006782/0.3072, allocations: 216.1 kB / 426.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.3075, allocations: 183.5 kB / 426.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3076, allocations: 29.73 kB / 426.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.3077, allocations: 87.62 kB / 426.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.3079, allocations: 79.61 kB / 426.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.3079, allocations: 16 kB / 426.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.308, allocations: 51.97 kB / 426.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.3081, allocations: 55.77 kB / 426.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.268e-05/0.3082, allocations: 67.55 kB / 426.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.3086, allocations: 215.5 kB / 426.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3086, allocations: 0 / 426.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3086, allocations: 4 kB / 426.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3086, allocations: 0 / 426.9 MB, free: 10.28 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.0008136/0.3094, allocations: 470.5 kB / 427.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3094, allocations: 12.03 kB / 427.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.328e-05/0.3095, allocations: 38.75 kB / 427.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.3096, allocations: 20.8 kB / 427.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.3099, allocations: 217.1 kB / 427.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.31, allocations: 4.375 kB / 427.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.31, allocations: 15.88 kB / 427.7 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.3104, allocations: 163.6 kB / 427.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3104, allocations: 3.984 kB / 427.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3104, allocations: 4 kB / 427.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3104, allocations: 4 kB / 427.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.3105, allocations: 35.92 kB / 427.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.3111, allocations: 350.3 kB / 428.3 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.3113, allocations: 126.5 kB / 428.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3114, allocations: 55.42 kB / 428.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3114, allocations: 0 / 428.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.3116, allocations: 79.31 kB / 428.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.3116, allocations: 0 / 428.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004045/0.312, allocations: 161.6 kB / 428.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.3121, allocations: 158.6 kB / 428.8 MB, free: 8.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.3125, allocations: 277 kB / 429.1 MB, free: 7.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.3125, allocations: 37.69 kB / 429.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.3126, allocations: 120.3 kB / 429.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.3126, allocations: 11.91 kB / 429.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.3127, allocations: 37.66 kB / 429.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3128, allocations: 326.8 kB / 429.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/0.3129, allocations: 28.05 kB / 429.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.313, allocations: 87.64 kB / 429.7 MB, free: 7.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3131, allocations: 89.98 kB / 429.8 MB, free: 7.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3132, allocations: 4 kB / 429.8 MB, free: 7.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002435/0.3134, allocations: 133.4 kB / 429.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3134, allocations: 4 kB / 430 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3134, allocations: 4.188 kB / 430 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3134, allocations: 4 kB / 430 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.3135, allocations: 12 kB / 430 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3135, allocations: 4 kB / 430 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.3136, allocations: 19.88 kB / 430 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3136, allocations: 4 kB / 430 MB, free: 6.875 MB / 334.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.0001442/0.3138, allocations: 150.5 kB / 430.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.3139, allocations: 81.56 kB / 430.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.3141, allocations: 111.3 kB / 430.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3141, allocations: 0 / 430.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3142, allocations: 4 kB / 430.3 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3142, allocations: 3.938 kB / 430.3 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.3144, allocations: 200.7 kB / 430.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3144, allocations: 0 / 430.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.3144, allocations: 12.09 kB / 430.5 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.3144, allocations: 8 kB / 430.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3144, allocations: 4 kB / 430.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3144, allocations: 8.062 kB / 430.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3144, allocations: 0 / 430.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.3147, allocations: 171.4 kB / 430.7 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.3148, allocations: 31.89 kB / 430.8 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.3148, allocations: 0 / 430.8 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.3149, allocations: 15.98 kB / 430.8 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.3149, allocations: 11.88 kB / 430.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3149, allocations: 7.984 kB / 430.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.3152, allocations: 192.5 kB / 431 MB, free: 5.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3152, allocations: 0 / 431 MB, free: 5.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3154, allocations: 35.92 kB / 431 MB, free: 5.754 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,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 (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.00207/0.3175, allocations: 1.021 MB / 432 MB, free: 4.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.3178, allocations: 84.16 kB / 432.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3178, allocations: 0 / 432.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.3178, allocations: 19.98 kB / 432.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.3183, allocations: 84.17 kB / 432.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.3209, allocations: 2.018 MB / 434.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.3214, allocations: 0.7358 MB / 435 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.666e-05/0.3215, allocations: 25.47 kB / 435 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.172e-05/0.3216, allocations: 47.42 kB / 435.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3216, allocations: 4 kB / 435.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03464/0.3562, allocations: 5.114 MB / 440.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.39, allocations: 3.984 kB / 440.2 MB, free: 12.65 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! Error: Could not read variable backSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv. Warning: Get data of variable backSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.03505146000316]