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.001225/0.001225, allocations: 107.3 kB / 17.06 MB, free: 6.016 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.001474/0.001474, allocations: 188 kB / 18 MB, free: 5.102 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.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2716, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003093/0.2747, allocations: 1.878 MB / 402.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.2764, allocations: 1.075 MB / 403.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.2765, allocations: 0 / 403.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005477/0.2771, allocations: 162.2 kB / 403.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.2774, allocations: 115.6 kB / 403.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.2779, allocations: 197.8 kB / 403.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.2782, allocations: 187.5 kB / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2784, allocations: 29.53 kB / 403.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2785, allocations: 83.62 kB / 403.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2786, allocations: 75.62 kB / 404 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.2786, allocations: 8 kB / 404 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.2788, allocations: 47.98 kB / 404.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.2788, allocations: 43.84 kB / 404.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.032e-05/0.2789, allocations: 75.47 kB / 404.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.2792, allocations: 206.3 kB / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2792, allocations: 0 / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2792, allocations: 3.938 kB / 404.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2793, allocations: 0 / 404.4 MB, free: 4.664 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.0006841/0.2799, allocations: 0.5155 MB / 404.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.28, allocations: 12.03 kB / 404.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.28, allocations: 38.62 kB / 405 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.2801, allocations: 24.8 kB / 405 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.2804, allocations: 271 kB / 405.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2804, allocations: 4.375 kB / 405.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.2805, allocations: 11.94 kB / 405.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.2808, allocations: 138.7 kB / 405.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2808, allocations: 0 / 405.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.2808, allocations: 11.98 kB / 405.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2808, allocations: 0 / 405.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.432e-05/0.2809, allocations: 35.92 kB / 405.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.2814, allocations: 354.4 kB / 405.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.2816, allocations: 111.9 kB / 405.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.2817, allocations: 42.56 kB / 405.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.2817, allocations: 0 / 405.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.2819, allocations: 87.27 kB / 406 MB, free: 2.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.2819, allocations: 0 / 406 MB, free: 2.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003345/0.2822, allocations: 133.5 kB / 406.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.2823, allocations: 136.5 kB / 406.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.2826, allocations: 264.9 kB / 406.6 MB, free: 2.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.2826, allocations: 25.7 kB / 406.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.2827, allocations: 124.3 kB / 406.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.2827, allocations: 23.91 kB / 406.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.2828, allocations: 29.7 kB / 406.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2829, allocations: 322.8 kB / 407.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.283, allocations: 27.92 kB / 407.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.799e-05/0.2831, allocations: 81.88 kB / 407.2 MB, free: 1.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.2832, allocations: 72.47 kB / 407.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2832, allocations: 4 kB / 407.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000195/0.2834, allocations: 113.6 kB / 407.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2834, allocations: 11.94 kB / 407.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2834, allocations: 0 / 407.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2834, allocations: 4 kB / 407.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.2835, allocations: 8 kB / 407.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2835, allocations: 7.984 kB / 407.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.2836, allocations: 11.89 kB / 407.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.2836, allocations: 8 kB / 407.4 MB, free: 1.297 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.0001097/0.2837, allocations: 145.9 kB / 407.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.2838, allocations: 57.59 kB / 407.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.2839, allocations: 21.66 kB / 407.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2839, allocations: 4 kB / 407.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2839, allocations: 0 / 407.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.2839, allocations: 7.922 kB / 407.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.2841, allocations: 221.5 kB / 407.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2841, allocations: 4 kB / 407.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.2841, allocations: 11.94 kB / 407.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.2841, allocations: 0 / 407.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.2842, allocations: 4.062 kB / 407.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2842, allocations: 4 kB / 407.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2842, allocations: 0 / 407.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.2844, allocations: 158.6 kB / 408 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.2845, allocations: 112.9 kB / 408.1 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.2845, allocations: 7.984 kB / 408.2 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.2846, allocations: 8 kB / 408.2 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.2846, allocations: 8 kB / 408.2 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.2847, allocations: 11.98 kB / 408.2 MB, free: 424 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.2848, allocations: 188.5 kB / 408.4 MB, free: 236 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2848, allocations: 3.938 kB / 408.4 MB, free: 232 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.2851, allocations: 31.98 kB / 408.4 MB, free: 200 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.001314/0.2864, allocations: 1.003 MB / 409.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.2866, allocations: 67.86 kB / 409.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2866, allocations: 256 / 409.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.558e-05/0.2867, allocations: 27.98 kB / 409.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.2871, allocations: 69.73 kB / 409.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.2892, allocations: 1.924 MB / 411.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.2895, allocations: 0.7319 MB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.549e-05/0.2896, allocations: 21.53 kB / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-05/0.2897, allocations: 47.42 kB / 412.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2897, allocations: 4 kB / 412.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.3126, allocations: 4.551 MB / 416.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.467, allocations: 8.562 kB / 416.9 MB, free: 7.875 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