Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",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.001852/0.001852, allocations: 112.9 kB / 17.06 MB, free: 5.992 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.002301/0.002301, allocations: 196 kB / 18.01 MB, free: 5.074 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.434/1.434, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 47.92 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3218, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00329/0.3252, allocations: 1.549 MB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009736/0.3262, allocations: 471.9 kB / 402.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.3263, allocations: 7.938 kB / 402.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.595e-05/0.3264, allocations: 7.938 kB / 402.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.3266, allocations: 3.938 kB / 402.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.3269, allocations: 47.83 kB / 402.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.327, allocations: 47.78 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3272, allocations: 19.98 kB / 402.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.3273, allocations: 19.92 kB / 402.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.3273, allocations: 23.8 kB / 402.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.3274, allocations: 8 kB / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.3274, allocations: 4 kB / 402.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.3275, allocations: 15.97 kB / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.3275, allocations: 19.81 kB / 402.5 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.3277, allocations: 58.7 kB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3277, allocations: 0 / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3277, allocations: 3.938 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3277, allocations: 0 / 402.5 MB, free: 6.531 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.0005188/0.3282, allocations: 375.1 kB / 402.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3283, allocations: 16.03 kB / 402.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.3283, allocations: 30.75 kB / 402.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3284, allocations: 16.83 kB / 402.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.3287, allocations: 200.2 kB / 403.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.3287, allocations: 384 / 403.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3287, allocations: 12.36 kB / 403.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.329, allocations: 105.2 kB / 403.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.329, allocations: 0 / 403.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.329, allocations: 0 / 403.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.329, allocations: 0 / 403.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.106e-05/0.3291, allocations: 23.92 kB / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.3295, allocations: 269.7 kB / 403.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.849e-05/0.3296, allocations: 45.14 kB / 403.6 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.3296, allocations: 17.78 kB / 403.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3297, allocations: 0 / 403.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.3297, allocations: 42.55 kB / 403.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3297, allocations: 0 / 403.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002745/0.33, allocations: 61.62 kB / 403.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.33, allocations: 77.11 kB / 403.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3302, allocations: 146.1 kB / 403.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3302, allocations: 25.7 kB / 403.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.3303, allocations: 84.39 kB / 404 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.3303, allocations: 11.94 kB / 404 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.3304, allocations: 21.66 kB / 404.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3305, allocations: 318.8 kB / 404.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.3305, allocations: 11.98 kB / 404.4 MB, free: 4.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/0.3306, allocations: 13.72 kB / 404.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.065e-05/0.3307, allocations: 33.77 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3307, allocations: 0 / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000147/0.3308, allocations: 53.62 kB / 404.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3309, allocations: 11.98 kB / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.3309, allocations: 0 / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3309, allocations: 7.875 kB / 404.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.152e-05/0.331, allocations: 4 kB / 404.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.331, allocations: 0 / 404.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.331, allocations: 12 kB / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3311, allocations: 0 / 404.5 MB, free: 4.246 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.592e-05/0.3312, allocations: 121.8 kB / 404.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.3312, allocations: 41.59 kB / 404.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.3313, allocations: 15.86 kB / 404.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3313, allocations: 0 / 404.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3313, allocations: 0 / 404.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3313, allocations: 0 / 404.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.3315, allocations: 177.6 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3315, allocations: 0 / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.3316, allocations: 4 kB / 404.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3316, allocations: 4 kB / 404.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3316, allocations: 4 kB / 404.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3316, allocations: 0 / 404.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3316, allocations: 0 / 404.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3318, allocations: 172.2 kB / 405 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.3319, allocations: 89.05 kB / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3319, allocations: 0 / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.357e-05/0.332, allocations: 0 / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.332, allocations: 7.984 kB / 405.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.332, allocations: 0 / 405.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.675e-05/0.3321, allocations: 106 kB / 405.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3321, allocations: 0 / 405.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.3323, allocations: 8 kB / 405.3 MB, free: 3.406 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.0005102/0.3329, allocations: 0.7014 MB / 406 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.333, allocations: 24.08 kB / 406 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.333, allocations: 4 kB / 406 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.3331, allocations: 11.98 kB / 406 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3335, allocations: 16.02 kB / 406 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.3348, allocations: 1.315 MB / 407.3 MB, free: 1.219 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3351, allocations: 0.6999 MB / 408 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.73e-05/0.3351, allocations: 3.984 kB / 408 MB, free: 500 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.3352, allocations: 19.42 kB / 408 MB, free: 480 kB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3352, allocations: 0 / 408 MB, free: 480 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.3546, allocations: 1.544 MB / 409.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.206, allocations: 8.625 kB / 409.6 MB, free: 15.03 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_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_ClockSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches