Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001061/0.001061, allocations: 110.2 kB / 17.06 MB, free: 5.969 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.001174/0.001174, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 47.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2809, allocations: 49.45 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003895/0.2848, allocations: 1.87 MB / 402.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.287, allocations: 1.153 MB / 403.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.2871, allocations: 7.938 kB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.2875, allocations: 63.72 kB / 403.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.2878, allocations: 91.59 kB / 403.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007745/0.2886, allocations: 257.6 kB / 403.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.2889, allocations: 175.5 kB / 403.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.289, allocations: 33.55 kB / 403.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.2891, allocations: 75.69 kB / 404 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.2893, allocations: 75.69 kB / 404 MB, free: 5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.2893, allocations: 8 kB / 404 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.2895, allocations: 71.88 kB / 404.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.2895, allocations: 47.84 kB / 404.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.028e-05/0.2896, allocations: 71.47 kB / 404.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.29, allocations: 246 kB / 404.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.29, allocations: 0 / 404.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.29, allocations: 3.938 kB / 404.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.29, allocations: 0 / 404.5 MB, free: 4.562 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.000691/0.2907, allocations: 0.531 MB / 405 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2908, allocations: 8.031 kB / 405 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.2908, allocations: 46.67 kB / 405.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.599e-05/0.2909, allocations: 20.8 kB / 405.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.2913, allocations: 295.8 kB / 405.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2913, allocations: 4.375 kB / 405.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.2913, allocations: 11.94 kB / 405.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.2917, allocations: 157.3 kB / 405.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2917, allocations: 7.984 kB / 405.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.2917, allocations: 8 kB / 405.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2918, allocations: 0 / 405.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.2919, allocations: 39.91 kB / 405.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.2925, allocations: 386.3 kB / 406 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.2928, allocations: 115.9 kB / 406.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/0.2929, allocations: 42.56 kB / 406.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.2929, allocations: 15.92 kB / 406.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.2932, allocations: 71.39 kB / 406.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.2932, allocations: 0 / 406.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004084/0.2936, allocations: 153.4 kB / 406.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/0.2937, allocations: 166.4 kB / 406.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.294, allocations: 326.6 kB / 406.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.294, allocations: 33.7 kB / 406.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.2941, allocations: 124.1 kB / 407 MB, free: 1.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.2942, allocations: 15.91 kB / 407 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.2942, allocations: 37.66 kB / 407 MB, free: 1.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2944, allocations: 330.8 kB / 407.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.2944, allocations: 23.98 kB / 407.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.2946, allocations: 90.84 kB / 407.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.2947, allocations: 88.22 kB / 407.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2947, allocations: 0 / 407.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002306/0.295, allocations: 117.5 kB / 407.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.295, allocations: 8 kB / 407.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.295, allocations: 3.984 kB / 407.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.295, allocations: 4 kB / 407.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.2951, allocations: 15.94 kB / 407.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2951, allocations: 4.125 kB / 407.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.2952, allocations: 28.12 kB / 407.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2953, allocations: 4 kB / 407.7 MB, free: 0.9297 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.0001383/0.2954, allocations: 149.8 kB / 407.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.2955, allocations: 69.48 kB / 408 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.2956, allocations: 25.7 kB / 408 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.2956, allocations: 4 kB / 408 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2956, allocations: 0 / 408 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2956, allocations: 8 kB / 408 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.2958, allocations: 237.6 kB / 408.2 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2958, allocations: 0 / 408.2 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.2959, allocations: 15.98 kB / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2959, allocations: 0 / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2959, allocations: 0 / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2959, allocations: 7.938 kB / 408.2 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2959, allocations: 0 / 408.2 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.2962, allocations: 170.5 kB / 408.4 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.2963, allocations: 120.9 kB / 408.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.2964, allocations: 7.938 kB / 408.5 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.2964, allocations: 4 kB / 408.5 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.2965, allocations: 15.86 kB / 408.6 MB, free: 0 / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.2965, allocations: 8.078 kB / 408.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.2968, allocations: 237.9 kB / 408.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2968, allocations: 0 / 408.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.297, allocations: 35.98 kB / 408.8 MB, free: 15.72 MB / 334.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.001418/0.2985, allocations: 1.024 MB / 409.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.2987, allocations: 71.91 kB / 409.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2987, allocations: 0 / 409.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-05/0.2988, allocations: 31.92 kB / 410 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.2992, allocations: 56.44 kB / 410 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.3017, allocations: 2.199 MB / 412.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3021, allocations: 0.7436 MB / 413 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.933e-05/0.3022, allocations: 33.78 kB / 413 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.3023, allocations: 59.41 kB / 413.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3023, allocations: 0 / 413.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.3267, allocations: 5.226 MB / 418.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/7.999, allocations: 4.688 kB / 418.3 MB, free: 6.41 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches