Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",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.001494/0.001494, allocations: 107.9 kB / 17.06 MB, free: 5.82 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.00123/0.00123, allocations: 195.9 kB / 18 MB, free: 4.965 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 51.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2573, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003254/0.2606, allocations: 1.883 MB / 402.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.2624, allocations: 1.071 MB / 403.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.2626, allocations: 7.938 kB / 403.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006383/0.2633, allocations: 155.5 kB / 403.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.2636, allocations: 111.6 kB / 403.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.2642, allocations: 205.6 kB / 403.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.2645, allocations: 179.6 kB / 403.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2646, allocations: 29.53 kB / 403.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.2648, allocations: 79.58 kB / 403.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.2649, allocations: 71.69 kB / 404 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.2649, allocations: 8 kB / 404 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.2651, allocations: 51.97 kB / 404.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.2652, allocations: 51.78 kB / 404.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.303e-05/0.2652, allocations: 71.47 kB / 404.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.2656, allocations: 206.3 kB / 404.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2656, allocations: 0 / 404.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2656, allocations: 0 / 404.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.2656, allocations: 0 / 404.4 MB, free: 4.645 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007742/0.2664, allocations: 0.5116 MB / 404.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2664, allocations: 12.03 kB / 404.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.2665, allocations: 34.75 kB / 404.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.2665, allocations: 28.8 kB / 405 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.2669, allocations: 270.9 kB / 405.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2669, allocations: 8.375 kB / 405.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.2669, allocations: 7.938 kB / 405.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.2672, allocations: 146.7 kB / 405.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2673, allocations: 0 / 405.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2673, allocations: 4 kB / 405.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2673, allocations: 3.984 kB / 405.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.707e-05/0.2674, allocations: 31.98 kB / 405.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.2679, allocations: 362.4 kB / 405.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.2681, allocations: 107.9 kB / 405.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.827e-05/0.2682, allocations: 46.56 kB / 405.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.2682, allocations: 0 / 405.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.2684, allocations: 75.28 kB / 406 MB, free: 2.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.2684, allocations: 0 / 406 MB, free: 2.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003693/0.2688, allocations: 145.7 kB / 406.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.528e-05/0.2689, allocations: 132.5 kB / 406.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.2692, allocations: 272.9 kB / 406.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2692, allocations: 25.7 kB / 406.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.2693, allocations: 120.1 kB / 406.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.2693, allocations: 23.91 kB / 406.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.2694, allocations: 25.7 kB / 406.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2695, allocations: 334.9 kB / 407.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.564e-05/0.2696, allocations: 19.98 kB / 407.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.831e-05/0.2697, allocations: 73.88 kB / 407.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2699, allocations: 80.25 kB / 407.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2699, allocations: 0 / 407.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000212/0.2701, allocations: 117.5 kB / 407.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2701, allocations: 4 kB / 407.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2701, allocations: 0 / 407.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2701, allocations: 4 kB / 407.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.2702, allocations: 12.12 kB / 407.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2702, allocations: 7.984 kB / 407.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.2703, allocations: 11.89 kB / 407.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.2703, allocations: 7.938 kB / 407.4 MB, free: 1.277 MB / 318.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,table.y,superSample1.y,superSample1.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.0001385/0.2705, allocations: 146.1 kB / 407.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.2706, allocations: 65.53 kB / 407.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.2706, allocations: 17.72 kB / 407.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2706, allocations: 8.062 kB / 407.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2706, allocations: 0 / 407.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2707, allocations: 7.922 kB / 407.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.2709, allocations: 225.5 kB / 407.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2709, allocations: 0 / 407.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.2709, allocations: 4 kB / 407.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2709, allocations: 0 / 407.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.271, allocations: 11.98 kB / 407.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.271, allocations: 0 / 407.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.271, allocations: 0 / 407.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.2712, allocations: 158.6 kB / 408 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.2714, allocations: 112.9 kB / 408.1 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.2714, allocations: 0 / 408.1 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.08e-05/0.2715, allocations: 7.984 kB / 408.2 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.2715, allocations: 11.94 kB / 408.2 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.2715, allocations: 4 kB / 408.2 MB, free: 412 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.2717, allocations: 196.5 kB / 408.4 MB, free: 216 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2717, allocations: 4 kB / 408.4 MB, free: 212 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.272, allocations: 27.98 kB / 408.4 MB, free: 184 kB / 318.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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.001963/0.274, allocations: 1.011 MB / 409.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.2742, allocations: 63.92 kB / 409.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.2742, allocations: 4 kB / 409.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.2743, allocations: 23.98 kB / 409.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2747, allocations: 72.67 kB / 409.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.277, allocations: 1.928 MB / 411.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.2774, allocations: 0.7241 MB / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.258e-05/0.2775, allocations: 29.73 kB / 412.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.792e-05/0.2776, allocations: 51.42 kB / 412.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2776, allocations: 0 / 412.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.3043, allocations: 4.543 MB / 416.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.392, allocations: 4.562 kB / 416.8 MB, free: 7.859 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_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_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches