Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",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.001306/0.001306, allocations: 111.5 kB / 17.06 MB, free: 6.102 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.001449/0.001449, allocations: 200 kB / 18 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.104/2.104, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 47.94 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4773, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.007045/0.4844, allocations: 1.914 MB / 402.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.4885, allocations: 1.091 MB / 403.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.4889, allocations: 0 / 403.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.4902, allocations: 151.5 kB / 403.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.4908, allocations: 115.5 kB / 403.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000986/0.4918, allocations: 209.1 kB / 403.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.4923, allocations: 199.4 kB / 403.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.4925, allocations: 29.67 kB / 403.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.4928, allocations: 87.61 kB / 404 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.493, allocations: 75.62 kB / 404.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.493, allocations: 8 kB / 404.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.4933, allocations: 59.91 kB / 404.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.4934, allocations: 43.84 kB / 404.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.4936, allocations: 75.53 kB / 404.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005921/0.4942, allocations: 224.9 kB / 404.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4942, allocations: 0 / 404.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4942, allocations: 0 / 404.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.4942, allocations: 0 / 404.5 MB, free: 4.566 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001324/0.4956, allocations: 0.5118 MB / 405 MB, free: 4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.4956, allocations: 8.031 kB / 405 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.522e-05/0.4957, allocations: 38.75 kB / 405 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.4958, allocations: 20.75 kB / 405.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.4965, allocations: 278.7 kB / 405.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.4966, allocations: 8.375 kB / 405.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.4966, allocations: 11.94 kB / 405.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.4973, allocations: 167.5 kB / 405.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4973, allocations: 0 / 405.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.4974, allocations: 4 kB / 405.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4974, allocations: 0 / 405.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.4976, allocations: 43.91 kB / 405.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009482/0.4986, allocations: 379.2 kB / 405.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.4991, allocations: 130.5 kB / 406.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.4995, allocations: 55.42 kB / 406.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.4995, allocations: 4 kB / 406.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.4998, allocations: 83.31 kB / 406.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 3.757e-06/0.4998, allocations: 0 / 406.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008343/0.5007, allocations: 153.3 kB / 406.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.5008, allocations: 158.2 kB / 406.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/0.5015, allocations: 281.2 kB / 406.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.5015, allocations: 37.64 kB / 406.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.5017, allocations: 120.4 kB / 406.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5018, allocations: 15.81 kB / 406.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.5019, allocations: 33.7 kB / 407 MB, free: 1.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.5022, allocations: 326.8 kB / 407.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.5023, allocations: 27.92 kB / 407.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.5026, allocations: 79.72 kB / 407.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.5029, allocations: 93.97 kB / 407.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.5029, allocations: 0 / 407.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004571/0.5034, allocations: 137.3 kB / 407.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.5034, allocations: 4 kB / 407.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.5034, allocations: 0 / 407.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.5035, allocations: 4 kB / 407.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.5036, allocations: 12.19 kB / 407.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.5037, allocations: 7.938 kB / 407.7 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.5038, allocations: 19.83 kB / 407.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.5039, allocations: 11.98 kB / 407.7 MB, free: 0.9688 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0002338/0.5041, allocations: 141.8 kB / 407.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.5043, allocations: 77.34 kB / 407.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.448e-05/0.5044, allocations: 25.72 kB / 407.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.5045, allocations: 8.078 kB / 407.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5045, allocations: 3.938 kB / 407.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.5045, allocations: 8.25 kB / 407.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.5049, allocations: 217.6 kB / 408.2 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.505, allocations: 8 kB / 408.2 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.505, allocations: 15.91 kB / 408.2 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.505, allocations: 0 / 408.2 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.5051, allocations: 8 kB / 408.2 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.5051, allocations: 0 / 408.2 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5051, allocations: 4 kB / 408.2 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/0.5056, allocations: 175.3 kB / 408.4 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.5059, allocations: 108.8 kB / 408.5 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.5059, allocations: 7.984 kB / 408.5 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.5061, allocations: 4 kB / 408.5 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.5062, allocations: 11.94 kB / 408.5 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.5062, allocations: 11.98 kB / 408.5 MB, free: 36 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.5066, allocations: 196.6 kB / 408.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.126e-06/0.5066, allocations: 0 / 408.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005352/0.5072, allocations: 35.94 kB / 408.7 MB, free: 15.8 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.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 (11): * Single equations (assignments): 9 * 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.002725/0.5099, allocations: 1.027 MB / 409.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.5104, allocations: 75.91 kB / 409.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5104, allocations: 0 / 409.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.5105, allocations: 28.3 kB / 409.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008422/0.5114, allocations: 88.64 kB / 410 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/0.5162, allocations: 2.015 MB / 412 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.5168, allocations: 0.7319 MB / 412.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.517, allocations: 29.53 kB / 412.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.5172, allocations: 47.42 kB / 412.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5172, allocations: 4 kB / 412.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/0.5614, allocations: 4.964 MB / 417.7 MB, free: 6.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.36, allocations: 20.17 kB / 417.8 MB, free: 6.895 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches