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.001197/0.001197, allocations: 113 kB / 17.05 MB, free: 6.086 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.001327/0.001327, allocations: 188 kB / 17.99 MB, free: 5.184 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 43.92 kB / 350.8 MB, free: 3.797 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2634, allocations: 49.45 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003357/0.2668, allocations: 1.871 MB / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.2685, allocations: 1.071 MB / 403.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.2687, allocations: 7.938 kB / 403.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006048/0.2693, allocations: 151.5 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.2697, allocations: 115.6 kB / 403.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.2702, allocations: 209.6 kB / 403.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.2705, allocations: 175.5 kB / 403.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2706, allocations: 29.53 kB / 403.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2707, allocations: 79.62 kB / 403.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2709, allocations: 71.69 kB / 404 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.2709, allocations: 8 kB / 404 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.2711, allocations: 63.91 kB / 404.1 MB, free: 5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.2711, allocations: 43.83 kB / 404.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.2712, allocations: 71.55 kB / 404.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.2716, allocations: 206.2 kB / 404.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2716, allocations: 0 / 404.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2716, allocations: 0 / 404.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2716, allocations: 0 / 404.4 MB, free: 4.688 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.0008052/0.2724, allocations: 0.5116 MB / 404.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2725, allocations: 8.031 kB / 404.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.2725, allocations: 46.67 kB / 404.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.2726, allocations: 20.8 kB / 405 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.273, allocations: 266.9 kB / 405.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.273, allocations: 8.359 kB / 405.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.273, allocations: 11.94 kB / 405.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.2733, allocations: 146.7 kB / 405.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2734, allocations: 0 / 405.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2734, allocations: 0 / 405.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2734, allocations: 0 / 405.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.2735, allocations: 39.86 kB / 405.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.274, allocations: 358.5 kB / 405.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.2743, allocations: 107.9 kB / 405.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.164e-05/0.2744, allocations: 42.56 kB / 405.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.2744, allocations: 12 kB / 405.9 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.2746, allocations: 75.34 kB / 406 MB, free: 2.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.2746, allocations: 4 kB / 406 MB, free: 2.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000356/0.275, allocations: 137.5 kB / 406.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.63e-05/0.2751, allocations: 136.5 kB / 406.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.2753, allocations: 260.9 kB / 406.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.2754, allocations: 33.7 kB / 406.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2755, allocations: 116.1 kB / 406.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.2755, allocations: 20.08 kB / 406.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.2755, allocations: 33.72 kB / 406.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2757, allocations: 330.8 kB / 407.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/0.2757, allocations: 23.92 kB / 407.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.2758, allocations: 66 kB / 407.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.276, allocations: 76.5 kB / 407.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.276, allocations: 4 kB / 407.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000203/0.2762, allocations: 113.5 kB / 407.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2762, allocations: 8.125 kB / 407.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2762, allocations: 11.97 kB / 407.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2763, allocations: 0 / 407.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/0.2763, allocations: 15.94 kB / 407.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2764, allocations: 0 / 407.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.2764, allocations: 15.89 kB / 407.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.2764, allocations: 7.984 kB / 407.4 MB, free: 1.32 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.0001216/0.2766, allocations: 137.8 kB / 407.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.2767, allocations: 65.55 kB / 407.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.035e-05/0.2767, allocations: 25.7 kB / 407.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2767, allocations: 0 / 407.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2767, allocations: 0 / 407.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2767, allocations: 7.938 kB / 407.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.2769, allocations: 221.5 kB / 407.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2769, allocations: 0 / 407.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.277, allocations: 7.984 kB / 407.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.277, allocations: 4 kB / 407.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.277, allocations: 0 / 407.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.277, allocations: 64 / 407.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.277, allocations: 11.98 kB / 407.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.2772, allocations: 154.5 kB / 408 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.2773, allocations: 112.9 kB / 408.1 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.2774, allocations: 8 kB / 408.1 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.2774, allocations: 7.938 kB / 408.1 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.2775, allocations: 11.98 kB / 408.2 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.2775, allocations: 8 kB / 408.2 MB, free: 452 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.2777, allocations: 196.5 kB / 408.4 MB, free: 256 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2777, allocations: 3.938 kB / 408.4 MB, free: 252 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.278, allocations: 24 kB / 408.4 MB, free: 228 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.001355/0.2793, allocations: 1.006 MB / 409.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.2795, allocations: 63.91 kB / 409.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2796, allocations: 0 / 409.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.2796, allocations: 31.92 kB / 409.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.28, allocations: 64.62 kB / 409.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.2822, allocations: 1.927 MB / 411.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.2825, allocations: 0.7319 MB / 412.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.153e-05/0.2826, allocations: 25.53 kB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.2827, allocations: 43.42 kB / 412.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2827, allocations: 0 / 412.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.3035, allocations: 4.553 MB / 416.8 MB, free: 7.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/7.991, allocations: 19.12 kB / 416.8 MB, free: 7.895 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