Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.001782/0.001782, 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.002041/0.002041, 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.444/1.444, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 43.94 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2899, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002657/0.2926, allocations: 1.618 MB / 401.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008486/0.2934, allocations: 0.5055 MB / 402.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.2935, allocations: 4 kB / 402.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.2936, allocations: 11.86 kB / 402.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2937, allocations: 11.86 kB / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.294, allocations: 61.77 kB / 402.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2941, allocations: 55.78 kB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.2942, allocations: 31.91 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.2943, allocations: 27.86 kB / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.2944, allocations: 19.86 kB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.2944, allocations: 4 kB / 402.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.2944, allocations: 4 kB / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.2945, allocations: 19.92 kB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.2945, allocations: 35.73 kB / 402.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.2946, allocations: 66.61 kB / 402.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2947, allocations: 4 kB / 402.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2947, allocations: 0 / 402.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2947, allocations: 0 / 402.7 MB, free: 6.328 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004529/0.2951, allocations: 395 kB / 403.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2952, allocations: 8.031 kB / 403.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.2952, allocations: 42.73 kB / 403.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.2953, allocations: 8.891 kB / 403.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.2955, allocations: 211.8 kB / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.2955, allocations: 4.375 kB / 403.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.2955, allocations: 4.375 kB / 403.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.2958, allocations: 138.8 kB / 403.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2958, allocations: 3.984 kB / 403.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.2959, allocations: 4 kB / 403.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2959, allocations: 0 / 403.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.296, allocations: 31.92 kB / 403.5 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.2963, allocations: 287.4 kB / 403.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2964, allocations: 102.4 kB / 403.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.2965, allocations: 47.47 kB / 404 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2965, allocations: 7.984 kB / 404 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.2966, allocations: 34.56 kB / 404 MB, free: 4.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.2966, allocations: 3.938 kB / 404 MB, free: 4.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002742/0.2968, allocations: 93.56 kB / 404.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.2969, allocations: 148.9 kB / 404.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.2971, allocations: 146.5 kB / 404.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.2971, allocations: 29.7 kB / 404.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.2971, allocations: 88.14 kB / 404.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.2972, allocations: 15.83 kB / 404.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.2972, allocations: 21.7 kB / 404.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.2973, allocations: 318.8 kB / 404.9 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.798e-05/0.2974, allocations: 15.98 kB / 404.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/0.2974, allocations: 49.14 kB / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.2975, allocations: 65.08 kB / 405 MB, free: 3.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2975, allocations: 3.938 kB / 405 MB, free: 3.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001532/0.2977, allocations: 85.5 kB / 405.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2977, allocations: 4 kB / 405.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2977, allocations: 4.188 kB / 405.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2977, allocations: 4 kB / 405.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.2978, allocations: 15.98 kB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2978, allocations: 0 / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.2979, allocations: 8 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.2979, allocations: 4 kB / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.254e-05/0.298, allocations: 117.8 kB / 405.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.2981, allocations: 69.53 kB / 405.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.2982, allocations: 19.95 kB / 405.3 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2982, allocations: 7.938 kB / 405.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2982, allocations: 0 / 405.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2982, allocations: 0 / 405.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.2984, allocations: 181.7 kB / 405.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2984, allocations: 4 kB / 405.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.2984, allocations: 11.98 kB / 405.5 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2985, allocations: 4 kB / 405.5 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2985, allocations: 4 kB / 405.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2985, allocations: 0 / 405.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2985, allocations: 8 kB / 405.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.2987, allocations: 193.9 kB / 405.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.2987, allocations: 96.98 kB / 405.8 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.2988, allocations: 4 kB / 405.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.2989, allocations: 8 kB / 405.8 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.2989, allocations: 7.984 kB / 405.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.2989, allocations: 0 / 405.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.781e-05/0.299, allocations: 114.1 kB / 405.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.353e-06/0.299, allocations: 0 / 405.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.2992, allocations: 15.94 kB / 406 MB, free: 2.613 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0004489/0.2997, allocations: 0.7376 MB / 406.7 MB, free: 1.844 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.2999, allocations: 48.22 kB / 406.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2999, allocations: 4.062 kB / 406.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.641e-05/0.2999, allocations: 7.938 kB / 406.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.3003, allocations: 43.95 kB / 406.8 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.3017, allocations: 1.477 MB / 408.3 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3019, allocations: 0.7039 MB / 409 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.782e-05/0.302, allocations: 4.859 kB / 409 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.3021, allocations: 19.42 kB / 409 MB, free: 15.39 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3021, allocations: 8 kB / 409 MB, free: 15.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.32, allocations: 2.038 MB / 411.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/7.917, allocations: 12.22 kB / 411.1 MB, free: 13.45 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches