Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001687/0.001687, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00197/0.00197, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 63.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2562, allocations: 50.55 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003557/0.2598, allocations: 1.925 MB / 410.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.2619, allocations: 1.231 MB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.2621, allocations: 7.875 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005594/0.2627, allocations: 151.5 kB / 412.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.2631, allocations: 163.4 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.2636, allocations: 167.4 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.2639, allocations: 207.4 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.264, allocations: 37.64 kB / 412.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.2641, allocations: 79.7 kB / 412.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.2642, allocations: 79.62 kB / 412.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2643, allocations: 11.94 kB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.2644, allocations: 59.95 kB / 412.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.2645, allocations: 39.84 kB / 412.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.2646, allocations: 79.48 kB / 413 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.2649, allocations: 226.1 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2649, allocations: 4 kB / 413.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2649, allocations: 0 / 413.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.265, allocations: 0 / 413.2 MB, free: 13.1 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007944/0.2658, allocations: 0.531 MB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2658, allocations: 8.031 kB / 413.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.2659, allocations: 42.73 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/0.2659, allocations: 20.8 kB / 413.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.2663, allocations: 282.9 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2663, allocations: 8.375 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.2664, allocations: 11.94 kB / 414.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.2667, allocations: 171.5 kB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2667, allocations: 3.938 kB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2668, allocations: 0 / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2668, allocations: 8 kB / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.2669, allocations: 35.98 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.2674, allocations: 375.2 kB / 414.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.2677, allocations: 130.5 kB / 414.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.2678, allocations: 63.34 kB / 414.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.2678, allocations: 8 kB / 414.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.268, allocations: 75.45 kB / 414.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.268, allocations: 0 / 414.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003865/0.2684, allocations: 161.7 kB / 415.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.2685, allocations: 170.2 kB / 415.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.2688, allocations: 278.6 kB / 415.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.2689, allocations: 29.7 kB / 415.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.269, allocations: 124.3 kB / 415.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.269, allocations: 19.84 kB / 415.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.2691, allocations: 33.7 kB / 415.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2692, allocations: 330.8 kB / 416.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.2693, allocations: 27.92 kB / 416.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.2694, allocations: 87.08 kB / 416.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.2696, allocations: 93.92 kB / 416.3 MB, free: 9.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2696, allocations: 3.984 kB / 416.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002389/0.2699, allocations: 133.5 kB / 416.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2699, allocations: 4 kB / 416.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2699, allocations: 4 kB / 416.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2699, allocations: 0 / 416.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.27, allocations: 19.94 kB / 416.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.27, allocations: 4 kB / 416.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.461e-05/0.2701, allocations: 15.86 kB / 416.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2701, allocations: 4 kB / 416.5 MB, free: 9.457 MB / 334.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.0001459/0.2703, allocations: 146 kB / 416.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.2704, allocations: 77.48 kB / 416.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.2705, allocations: 25.7 kB / 416.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2705, allocations: 7.984 kB / 416.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2705, allocations: 0 / 416.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2705, allocations: 7.875 kB / 416.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.2708, allocations: 237.5 kB / 416.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2708, allocations: 0 / 416.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.2708, allocations: 8.312 kB / 417 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2708, allocations: 4.094 kB / 417 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.2709, allocations: 12 kB / 417 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2709, allocations: 3.984 kB / 417 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2709, allocations: 0 / 417 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.2711, allocations: 175.4 kB / 417.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.2713, allocations: 109 kB / 417.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.2713, allocations: 7.938 kB / 417.3 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.2714, allocations: 4 kB / 417.3 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.2714, allocations: 11.92 kB / 417.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.2714, allocations: 8 kB / 417.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.2716, allocations: 202 kB / 417.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2716, allocations: 4 kB / 417.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.2719, allocations: 31.92 kB / 417.5 MB, free: 8.281 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.001894/0.2738, allocations: 1.025 MB / 418.5 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.2741, allocations: 79.84 kB / 418.6 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2741, allocations: 0 / 418.6 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.421e-05/0.2742, allocations: 27.98 kB / 418.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.2746, allocations: 82.59 kB / 418.7 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.277, allocations: 2.038 MB / 420.8 MB, free: 5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.2774, allocations: 0.7398 MB / 421.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.287e-05/0.2775, allocations: 21.53 kB / 421.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.2776, allocations: 55.42 kB / 421.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2776, allocations: 3.938 kB / 421.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.307, allocations: 5.005 MB / 426.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.403, allocations: 20.02 kB / 426.6 MB, free: 15.27 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches