Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002043/0.002043, allocations: 214.7 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003014/0.003014, allocations: 59.91 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2826, allocations: 53.41 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003766/0.2864, allocations: 1.936 MB / 433.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.2887, allocations: 1.223 MB / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.2888, allocations: 7.938 kB / 434.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.2895, allocations: 147.5 kB / 434.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.2899, allocations: 155.4 kB / 434.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.2904, allocations: 183 kB / 434.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.2907, allocations: 183.5 kB / 435 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2908, allocations: 25.72 kB / 435 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.291, allocations: 79.64 kB / 435.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.2911, allocations: 75.62 kB / 435.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.2911, allocations: 12 kB / 435.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.2913, allocations: 67.88 kB / 435.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.2914, allocations: 43.84 kB / 435.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.435e-05/0.2914, allocations: 71.53 kB / 435.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.2918, allocations: 203.6 kB / 435.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2918, allocations: 4 kB / 435.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2918, allocations: 3.938 kB / 435.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2918, allocations: 0 / 435.6 MB, free: 2.254 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.0008147/0.2926, allocations: 462.7 kB / 436 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2926, allocations: 8.031 kB / 436 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.2927, allocations: 38.75 kB / 436.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.2927, allocations: 20.8 kB / 436.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.2931, allocations: 217.1 kB / 436.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2931, allocations: 8.375 kB / 436.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.2931, allocations: 4.375 kB / 436.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.2934, allocations: 154.8 kB / 436.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2935, allocations: 4 kB / 436.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2935, allocations: 4 kB / 436.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2935, allocations: 0 / 436.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.2936, allocations: 39.91 kB / 436.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.2941, allocations: 325.5 kB / 436.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.2943, allocations: 111.9 kB / 436.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.2944, allocations: 38.56 kB / 437 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2944, allocations: 4 kB / 437 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.2945, allocations: 79.39 kB / 437.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2946, allocations: 0 / 437.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003531/0.2949, allocations: 141.5 kB / 437.2 MB, free: 440 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.295, allocations: 136.7 kB / 437.3 MB, free: 272 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.2953, allocations: 281.1 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.2953, allocations: 25.7 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.2954, allocations: 116.1 kB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.2954, allocations: 15.91 kB / 437.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.2955, allocations: 37.59 kB / 437.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.2956, allocations: 330.8 kB / 438.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.2957, allocations: 19.98 kB / 438.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2958, allocations: 74 kB / 438.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.2959, allocations: 72.22 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2959, allocations: 4.031 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002146/0.2962, allocations: 117.5 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2962, allocations: 4 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2962, allocations: 0 / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2962, allocations: 4 kB / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.2963, allocations: 12.3 kB / 438.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2963, allocations: 7.938 kB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.2964, allocations: 19.86 kB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.2964, allocations: 12.12 kB / 438.5 MB, free: 15.06 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,sample1.u,subSample1.y,subSample1.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.0001283/0.2965, allocations: 142.5 kB / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.349e-05/0.2966, allocations: 69.48 kB / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.2968, allocations: 103.4 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2968, allocations: 4 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2968, allocations: 0 / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2968, allocations: 0 / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.297, allocations: 204.6 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.297, allocations: 0 / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.2971, allocations: 11.92 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2971, allocations: 4 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.2971, allocations: 0 / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2971, allocations: 0 / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.2971, allocations: 4 kB / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.2973, allocations: 154.6 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.88e-05/0.2974, allocations: 43.77 kB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.2974, allocations: 0 / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.939e-05/0.2975, allocations: 4 kB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.2975, allocations: 7.984 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.2975, allocations: 8 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.2977, allocations: 196.5 kB / 439.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2977, allocations: 0 / 439.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.298, allocations: 31.94 kB / 439.4 MB, free: 14 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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 (9): * Single equations (assignments): 7 * 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.001983/0.3, allocations: 1.002 MB / 440.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.3002, allocations: 71.84 kB / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3002, allocations: 0 / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.765e-05/0.3003, allocations: 19.98 kB / 440.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3007, allocations: 72.78 kB / 440.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.303, allocations: 1.953 MB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.3034, allocations: 0.7359 MB / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.221e-05/0.3034, allocations: 25.47 kB / 443.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.616e-05/0.3035, allocations: 43.42 kB / 443.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3035, allocations: 4 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.3353, allocations: 4.8 MB / 448.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.08, allocations: 7.844 kB / 448.2 MB, free: 5.289 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! Error: Could not read variable subSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable subSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.804875249999895]