Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001684/0.001684, allocations: 106.3 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.001815/0.001815, 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.458/1.458, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 51.92 kB / 350.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3327, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003511/0.3362, allocations: 1.555 MB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3373, allocations: 0.4913 MB / 402.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3374, allocations: 4 kB / 402.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.3375, allocations: 7.922 kB / 402.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.3376, allocations: 7.875 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.338, allocations: 51.81 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3381, allocations: 51.78 kB / 402.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3382, allocations: 16 kB / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.3383, allocations: 19.92 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.3384, allocations: 23.84 kB / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.3384, allocations: 4 kB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.3385, allocations: 4 kB / 402.5 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.3385, allocations: 11.98 kB / 402.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.3386, allocations: 23.81 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.3387, allocations: 54.69 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3387, allocations: 7.938 kB / 402.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3387, allocations: 4 kB / 402.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3387, allocations: 0 / 402.6 MB, free: 6.492 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005352/0.3393, allocations: 371.1 kB / 402.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3393, allocations: 8.031 kB / 402.9 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.3394, allocations: 38.75 kB / 403 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.3394, allocations: 12.83 kB / 403 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.3397, allocations: 196.2 kB / 403.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3398, allocations: 8.375 kB / 403.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.3398, allocations: 4.375 kB / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.3401, allocations: 101.2 kB / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.3401, allocations: 0 / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.3401, allocations: 0 / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.3401, allocations: 3.984 kB / 403.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.901e-05/0.3402, allocations: 27.92 kB / 403.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.3405, allocations: 261.7 kB / 403.6 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/0.3406, allocations: 49.14 kB / 403.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.3407, allocations: 17.78 kB / 403.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.3407, allocations: 3.984 kB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.3408, allocations: 42.48 kB / 403.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.3408, allocations: 0 / 403.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002488/0.341, allocations: 65.61 kB / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.3411, allocations: 85.34 kB / 403.8 MB, free: 5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.3412, allocations: 145 kB / 404 MB, free: 4.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3412, allocations: 25.7 kB / 404 MB, free: 4.816 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.3413, allocations: 88.08 kB / 404.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.3413, allocations: 11.98 kB / 404.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.3414, allocations: 13.67 kB / 404.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3415, allocations: 322.8 kB / 404.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.3416, allocations: 7.984 kB / 404.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.103e-05/0.3416, allocations: 17.72 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.117e-05/0.3417, allocations: 29.7 kB / 404.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3417, allocations: 0 / 404.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001259/0.3418, allocations: 57.73 kB / 404.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3419, allocations: 12 kB / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3419, allocations: 0 / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3419, allocations: 3.938 kB / 404.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.342, allocations: 4 kB / 404.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.342, allocations: 0 / 404.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.342, allocations: 7.938 kB / 404.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3421, allocations: 0 / 404.6 MB, free: 4.215 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.313e-05/0.3422, allocations: 125.8 kB / 404.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.3422, allocations: 45.59 kB / 404.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.3423, allocations: 15.86 kB / 404.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3423, allocations: 0 / 404.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3423, allocations: 4 kB / 404.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3423, allocations: 0 / 404.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.3425, allocations: 173.6 kB / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3425, allocations: 0 / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.3425, allocations: 4 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3426, allocations: 0 / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3426, allocations: 4 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3426, allocations: 0 / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3426, allocations: 8.016 kB / 404.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.3428, allocations: 164.2 kB / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.3429, allocations: 89.05 kB / 405.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.3429, allocations: 0 / 405.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.343, allocations: 0 / 405.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.343, allocations: 12.02 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.343, allocations: 4 kB / 405.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.3431, allocations: 103.3 kB / 405.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3431, allocations: 3.938 kB / 405.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.3433, allocations: 4 kB / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0005043/0.3438, allocations: 0.7014 MB / 406 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.344, allocations: 23.98 kB / 406 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.344, allocations: 0 / 406 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.344, allocations: 7.984 kB / 406 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3444, allocations: 16.02 kB / 406 MB, free: 2.586 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.3458, allocations: 1.308 MB / 407.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.3461, allocations: 0.6961 MB / 408.1 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.625e-05/0.3461, allocations: 4.031 kB / 408.1 MB, free: 472 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.3462, allocations: 23.42 kB / 408.1 MB, free: 448 kB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3462, allocations: 0 / 408.1 MB, free: 448 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.3663, allocations: 1.537 MB / 409.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.33, allocations: 11.25 kB / 409.6 MB, free: 15.02 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches