Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001926/0.001926, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002276/0.002276, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.505/1.505, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 47.94 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1098, allocations: 53.34 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.00346/0.1132, allocations: 1.909 MB / 428.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1153, allocations: 1.2 MB / 429.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1154, allocations: 7.938 kB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.116, allocations: 155.5 kB / 429.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.1164, allocations: 151.4 kB / 429.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.1169, allocations: 167.2 kB / 429.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.1172, allocations: 187.5 kB / 430.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1173, allocations: 25.48 kB / 430.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1174, allocations: 83.64 kB / 430.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1175, allocations: 75.67 kB / 430.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.1176, allocations: 8 kB / 430.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.1177, allocations: 63.89 kB / 430.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.1178, allocations: 43.84 kB / 430.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.713e-05/0.1179, allocations: 75.42 kB / 430.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1182, allocations: 211 kB / 430.6 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1182, allocations: 4 kB / 430.6 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1182, allocations: 0 / 430.6 MB, free: 420 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1182, allocations: 0 / 430.6 MB, free: 420 kB / 350.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.2489/0.3671, allocations: 0.5189 MB / 431.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3672, allocations: 8.062 kB / 431.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.3672, allocations: 39.62 kB / 431.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.3673, allocations: 24.39 kB / 431.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.3677, allocations: 274.5 kB / 431.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3677, allocations: 3.406 kB / 431.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.3677, allocations: 9.078 kB / 431.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.3681, allocations: 145.6 kB / 431.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3681, allocations: 3.938 kB / 431.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3681, allocations: 4.062 kB / 431.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.3681, allocations: 2.156 kB / 431.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.3682, allocations: 36.36 kB / 431.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.3687, allocations: 368.7 kB / 432.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.3689, allocations: 106.2 kB / 432.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.632e-05/0.369, allocations: 39.45 kB / 432.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.369, allocations: 5.516 kB / 432.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.3692, allocations: 73.59 kB / 432.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3692, allocations: 0.75 kB / 432.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003972/0.3696, allocations: 144.7 kB / 432.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.3697, allocations: 141 kB / 432.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.37, allocations: 270.2 kB / 432.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.37, allocations: 29.61 kB / 432.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.3701, allocations: 117.3 kB / 433 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.3701, allocations: 22.66 kB / 433 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.3702, allocations: 31.2 kB / 433 MB, free: 10.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.3702, allocations: 332.1 kB / 433.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.3703, allocations: 22.02 kB / 433.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-05/0.3704, allocations: 67.38 kB / 433.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3705, allocations: 79.72 kB / 433.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3705, allocations: 4.75 kB / 433.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000196/0.3707, allocations: 108.9 kB / 433.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3707, allocations: 5.875 kB / 433.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3707, allocations: 1.375 kB / 433.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3708, allocations: 8.984 kB / 433.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.3708, allocations: 12.97 kB / 433.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3708, allocations: 2.031 kB / 433.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.3709, allocations: 12.3 kB / 433.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.3709, allocations: 5.5 kB / 433.7 MB, free: 9.609 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.0001317/0.3711, allocations: 149.2 kB / 433.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-05/0.3711, allocations: 67.06 kB / 433.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.3712, allocations: 24.67 kB / 433.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3712, allocations: 3.297 kB / 433.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3712, allocations: 0.5938 kB / 433.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3712, allocations: 1.531 kB / 433.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.3714, allocations: 233.9 kB / 434.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3714, allocations: 4.594 kB / 434.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.3714, allocations: 7.906 kB / 434.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3714, allocations: 4.656 kB / 434.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3714, allocations: 5.562 kB / 434.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3714, allocations: 0.7812 kB / 434.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3714, allocations: 3.953 kB / 434.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.3717, allocations: 153.2 kB / 434.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.3717, allocations: 112.1 kB / 434.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.3718, allocations: 9.688 kB / 434.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.2e-05/0.3718, allocations: 7.594 kB / 434.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.3719, allocations: 6.062 kB / 434.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.3719, allocations: 3.312 kB / 434.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.3721, allocations: 202.9 kB / 434.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3721, allocations: 1.219 kB / 434.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3724, allocations: 29.28 kB / 434.7 MB, free: 8.961 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.00185/0.3742, allocations: 1.019 MB / 435.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3744, allocations: 63.33 kB / 435.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3744, allocations: 4.25 kB / 435.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.3745, allocations: 28.3 kB / 435.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.375, allocations: 49.56 kB / 435.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.377, allocations: 1.953 MB / 437.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.3771, allocations: 0.7345 MB / 438.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.054e-05/0.3772, allocations: 22.72 kB / 438.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.3773, allocations: 50.83 kB / 438.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3773, allocations: 1.156 kB / 438.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.4089, allocations: 4.653 MB / 443.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.748, allocations: 11.39 kB / 443.3 MB, free: 5.406 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! Error: Could not read variable subSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable subSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.442656981002074]