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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 108.9 kB / 16.92 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 47.41 kB / 300.7 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.09329, allocations: 49.43 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003915/0.09725, allocations: 1.891 MB / 352 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.09923, allocations: 1.036 MB / 353.1 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.09942, allocations: 11.94 kB / 353.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006161/0.1001, allocations: 150.5 kB / 353.2 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.1004, allocations: 111.6 kB / 353.4 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.1011, allocations: 198.7 kB / 353.5 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.1014, allocations: 183.5 kB / 353.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1015, allocations: 33.53 kB / 353.8 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.1017, allocations: 75.64 kB / 353.8 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1018, allocations: 71.64 kB / 353.9 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.1019, allocations: 8 kB / 353.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.102, allocations: 51.95 kB / 354 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.1021, allocations: 43.84 kB / 354 MB, free: 480 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.473e-05/0.1022, allocations: 71.48 kB / 354.1 MB, free: 408 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.1026, allocations: 203.7 kB / 354.3 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1026, allocations: 0 / 354.3 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1026, allocations: 0 / 354.3 MB, free: 204 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1026, allocations: 0 / 354.3 MB, free: 204 kB / 286.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.0008914/0.1035, allocations: 0.504 MB / 354.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1036, allocations: 8.031 kB / 354.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.1036, allocations: 38.75 kB / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.1037, allocations: 20.73 kB / 354.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.104, allocations: 266.7 kB / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1041, allocations: 8.375 kB / 355.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1041, allocations: 11.94 kB / 355.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1044, allocations: 138.7 kB / 355.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1044, allocations: 0 / 355.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1045, allocations: 0 / 355.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1045, allocations: 8 kB / 355.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1046, allocations: 39.91 kB / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.1051, allocations: 358.4 kB / 355.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1053, allocations: 107.9 kB / 355.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.889e-05/0.1054, allocations: 50.5 kB / 355.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1055, allocations: 0 / 355.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.1057, allocations: 75.39 kB / 355.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.1057, allocations: 0 / 355.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003715/0.1061, allocations: 141.3 kB / 356 MB, free: 14.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.1061, allocations: 136.5 kB / 356.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.1064, allocations: 273.1 kB / 356.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1064, allocations: 29.69 kB / 356.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.1065, allocations: 120.1 kB / 356.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.1066, allocations: 15.75 kB / 356.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.1066, allocations: 29.7 kB / 356.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1067, allocations: 326.8 kB / 356.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.1068, allocations: 23.98 kB / 357 MB, free: 13.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.63e-05/0.1069, allocations: 66 kB / 357 MB, free: 13.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.107, allocations: 80.22 kB / 357.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.107, allocations: 0 / 357.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002054/0.1073, allocations: 117.4 kB / 357.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1073, allocations: 8 kB / 357.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1073, allocations: 0 / 357.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1073, allocations: 3.938 kB / 357.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.986e-05/0.1074, allocations: 15.94 kB / 357.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1074, allocations: 0 / 357.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.1075, allocations: 15.83 kB / 357.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1075, allocations: 7.984 kB / 357.3 MB, free: 12.87 MB / 302.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.0001309/0.1077, allocations: 146 kB / 357.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.1077, allocations: 61.45 kB / 357.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.1078, allocations: 25.7 kB / 357.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.1078, allocations: 0 / 357.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1078, allocations: 4.312 kB / 357.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1078, allocations: 3.938 kB / 357.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.108, allocations: 229.6 kB / 357.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.108, allocations: 4 kB / 357.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.1081, allocations: 8.062 kB / 357.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1081, allocations: 4 kB / 357.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1081, allocations: 0 / 357.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.1081, allocations: 4 kB / 357.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1081, allocations: 3.938 kB / 357.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1084, allocations: 162.4 kB / 357.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.1085, allocations: 108.9 kB / 358 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.1085, allocations: 0 / 358 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.1086, allocations: 7.984 kB / 358 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1086, allocations: 11.94 kB / 358 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1086, allocations: 4 kB / 358 MB, free: 11.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.1088, allocations: 192.5 kB / 358.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1088, allocations: 96 / 358.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1091, allocations: 35.94 kB / 358.3 MB, free: 11.76 MB / 302.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.00146/0.1106, allocations: 1.004 MB / 359.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.1109, allocations: 79.97 kB / 359.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1109, allocations: 0 / 359.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1111, allocations: 23.98 kB / 359.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.1117, allocations: 67.58 kB / 359.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.1149, allocations: 1.914 MB / 361.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1153, allocations: 0.7319 MB / 362.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.1154, allocations: 29.45 kB / 362.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.1156, allocations: 43.42 kB / 362.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1156, allocations: 0 / 362.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.1445, allocations: 4.448 MB / 366.6 MB, free: 3.523 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.68, allocations: 17.17 kB / 366.6 MB, free: 3.516 MB / 302.1 MB (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 8e-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) 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) Reference file matches