Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001255/0.001255, allocations: 109.5 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.001346/0.001346, allocations: 188.8 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.498/1.498, 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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 43.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.297, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003811/0.3008, allocations: 1.904 MB / 424.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.3028, allocations: 1.072 MB / 425.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.303, allocations: 7.938 kB / 425.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006903/0.3037, allocations: 151.5 kB / 425.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.304, allocations: 115.6 kB / 425.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.3047, allocations: 205.4 kB / 426.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.305, allocations: 183.5 kB / 426.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3051, allocations: 21.73 kB / 426.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.3053, allocations: 79.62 kB / 426.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3054, allocations: 79.67 kB / 426.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.3054, allocations: 8 kB / 426.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.3056, allocations: 59.91 kB / 426.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.3057, allocations: 47.83 kB / 426.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.3058, allocations: 63.55 kB / 426.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.3062, allocations: 211.5 kB / 426.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3062, allocations: 0 / 426.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3062, allocations: 0 / 426.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3062, allocations: 0 / 426.8 MB, free: 10.4 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.0008529/0.307, allocations: 450.7 kB / 427.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3071, allocations: 8.031 kB / 427.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.3071, allocations: 38.75 kB / 427.3 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.3072, allocations: 28.78 kB / 427.3 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.3075, allocations: 205.1 kB / 427.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3075, allocations: 8.375 kB / 427.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3076, allocations: 7.938 kB / 427.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.3079, allocations: 150.7 kB / 427.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3079, allocations: 3.984 kB / 427.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3079, allocations: 4 kB / 427.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.308, allocations: 0 / 427.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3081, allocations: 35.92 kB / 427.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.3086, allocations: 329.5 kB / 428.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.3088, allocations: 103.9 kB / 428.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.3089, allocations: 46.56 kB / 428.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.309, allocations: 3.938 kB / 428.2 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.3091, allocations: 75.34 kB / 428.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.3091, allocations: 0 / 428.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003854/0.3095, allocations: 141.5 kB / 428.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.3096, allocations: 140.4 kB / 428.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.3099, allocations: 272.8 kB / 428.8 MB, free: 8.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.31, allocations: 29.7 kB / 428.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.3101, allocations: 116.1 kB / 429 MB, free: 8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.3101, allocations: 19.84 kB / 429 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.3102, allocations: 29.95 kB / 429 MB, free: 7.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3103, allocations: 330.8 kB / 429.3 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.3104, allocations: 19.98 kB / 429.4 MB, free: 7.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.3105, allocations: 70 kB / 429.4 MB, free: 7.504 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3106, allocations: 76.25 kB / 429.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3106, allocations: 0 / 429.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002196/0.3108, allocations: 113.5 kB / 429.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3109, allocations: 8 kB / 429.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3109, allocations: 0 / 429.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3109, allocations: 8.125 kB / 429.6 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.311, allocations: 12.25 kB / 429.6 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.311, allocations: 4 kB / 429.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.3111, allocations: 23.88 kB / 429.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3111, allocations: 4 kB / 429.7 MB, free: 7.238 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,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.0001416/0.3112, allocations: 137.8 kB / 429.8 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/0.3113, allocations: 57.55 kB / 429.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.3115, allocations: 119.4 kB / 430 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.3115, allocations: 0 / 430 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3115, allocations: 4 kB / 430 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3116, allocations: 3.938 kB / 430 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.3118, allocations: 200.7 kB / 430.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3118, allocations: 4 kB / 430.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.3118, allocations: 7.938 kB / 430.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3118, allocations: 0 / 430.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3118, allocations: 0 / 430.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3118, allocations: 7.938 kB / 430.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3118, allocations: 0 / 430.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3121, allocations: 158.6 kB / 430.4 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.3122, allocations: 31.84 kB / 430.4 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.3122, allocations: 4 kB / 430.4 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.3123, allocations: 4 kB / 430.4 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.3123, allocations: 11.92 kB / 430.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3123, allocations: 12.09 kB / 430.4 MB, free: 6.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.3125, allocations: 196.4 kB / 430.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3125, allocations: 4 kB / 430.6 MB, free: 6.203 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.3128, allocations: 23.94 kB / 430.6 MB, free: 6.18 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,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.001996/0.3148, allocations: 0.9994 MB / 431.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.3151, allocations: 67.84 kB / 431.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3151, allocations: 0 / 431.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.3151, allocations: 27.98 kB / 431.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.3156, allocations: 62.62 kB / 431.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.3181, allocations: 1.932 MB / 433.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.3185, allocations: 0.7357 MB / 434.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.551e-05/0.3186, allocations: 21.48 kB / 434.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.416e-05/0.3187, allocations: 47.42 kB / 434.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3187, allocations: 0 / 434.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.3524, allocations: 4.725 MB / 439.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.12, allocations: 14.77 kB / 439.3 MB, free: 13.62 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! Error: Could not read variable subSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable subSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.814374697001767]