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.001011/0.001011, allocations: 91.67 kB / 20.67 MB, free: 3.863 MB / 18.57 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.0009428/0.0009428, allocations: 166 kB / 23.95 MB, free: 0.5898 MB / 18.57 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 0.9089/0.9089, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.563e-06/1.563e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.48e-05, allocations: 6.281 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002492/0.002507, allocations: 1.887 MB / 326.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.003837, allocations: 1.137 MB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.003939, allocations: 7.938 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.004481, allocations: 151.5 kB / 327.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.004784, allocations: 167.2 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.005128, allocations: 170.8 kB / 328.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.005327, allocations: 195.3 kB / 328.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.005425, allocations: 21.8 kB / 328.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.005533, allocations: 99.72 kB / 328.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.841e-05/0.005621, allocations: 63.8 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.005639, allocations: 8 kB / 328.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.00574, allocations: 63.89 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.005794, allocations: 47.78 kB / 328.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.005841, allocations: 47.84 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.006085, allocations: 199.4 kB / 328.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.006086, allocations: 0 / 328.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006088, allocations: 0 / 328.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.006092, allocations: 0 / 328.8 MB, free: 11.7 MB / 298.7 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.0005368/0.006629, allocations: 453.9 kB / 329.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.006663, allocations: 12.03 kB / 329.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.006695, allocations: 42.72 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.006735, allocations: 24.8 kB / 329.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.006994, allocations: 212.8 kB / 329.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.00701, allocations: 12.31 kB / 329.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.007022, allocations: 4.375 kB / 329.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.00727, allocations: 150.2 kB / 329.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.007277, allocations: 0 / 329.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.007287, allocations: 0 / 329.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.007291, allocations: 0 / 329.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.007359, allocations: 39.98 kB / 329.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.00772, allocations: 321.4 kB / 330.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.007867, allocations: 111.9 kB / 330.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.007921, allocations: 42.56 kB / 330.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.007941, allocations: 0 / 330.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.008063, allocations: 79.33 kB / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.008063, allocations: 0 / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002465/0.00831, allocations: 149.5 kB / 330.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.00836, allocations: 110.7 kB / 330.5 MB, free: 9.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.008552, allocations: 273.9 kB / 330.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.008565, allocations: 29.7 kB / 330.8 MB, free: 9.438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.008627, allocations: 120.1 kB / 330.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.00865, allocations: 19.97 kB / 331 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.008686, allocations: 29.66 kB / 331 MB, free: 9.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.049e-05/0.008776, allocations: 330.8 kB / 331.3 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.008813, allocations: 20.23 kB / 331.3 MB, free: 8.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.008876, allocations: 76.25 kB / 331.4 MB, free: 8.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.35e-05/0.00895, allocations: 53.7 kB / 331.5 MB, free: 8.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.008952, allocations: 0 / 331.5 MB, free: 8.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001155/0.009068, allocations: 97.52 kB / 331.6 MB, free: 8.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.009083, allocations: 4 kB / 331.6 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.009088, allocations: 0 / 331.6 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.009101, allocations: 4 kB / 331.6 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.009161, allocations: 8.312 kB / 331.6 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.009167, allocations: 4.062 kB / 331.6 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.009208, allocations: 19.92 kB / 331.6 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.009216, allocations: 4 kB / 331.6 MB, free: 8.617 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.92e-05/0.009315, allocations: 146.7 kB / 331.7 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.009368, allocations: 57.56 kB / 331.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.009534, allocations: 119.3 kB / 331.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.009538, allocations: 3.984 kB / 331.9 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.009545, allocations: 4 kB / 331.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.00955, allocations: 0 / 331.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.009699, allocations: 192.7 kB / 332.1 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.0097, allocations: 0 / 332.1 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.009719, allocations: 4 kB / 332.1 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.009722, allocations: 4 kB / 332.1 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.009733, allocations: 3.984 kB / 332.1 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.009735, allocations: 4 kB / 332.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009736, allocations: 0 / 332.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.009891, allocations: 166.5 kB / 332.3 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.009938, allocations: 31.83 kB / 332.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.009957, allocations: 8 kB / 332.3 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.009989, allocations: 8 kB / 332.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.01002, allocations: 12 kB / 332.4 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.01004, allocations: 11.94 kB / 332.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002745/0.01031, allocations: 201.2 kB / 332.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01031, allocations: 0 / 332.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.01048, allocations: 27.94 kB / 332.6 MB, free: 7.555 MB / 298.7 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 (10): * Single equations (assignments): 8 * 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.001011/0.01149, allocations: 1.045 MB / 333.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.01163, allocations: 63.91 kB / 333.7 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01164, allocations: 0 / 333.7 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.206e-05/0.01168, allocations: 27.98 kB / 333.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.01195, allocations: 63.2 kB / 333.8 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.01344, allocations: 1.903 MB / 335.7 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.123e-05/0.01353, allocations: 127.6 kB / 335.8 MB, free: 4.352 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.815e-05/0.01358, allocations: 21.75 kB / 335.8 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.01365, allocations: 52.47 kB / 335.9 MB, free: 4.277 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01365, allocations: 0 / 335.9 MB, free: 4.277 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.03036, allocations: 5.467 MB / 341.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.054, allocations: 4 kB / 341.4 MB, free: 14.87 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/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: 8.876879934221506]