Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.00121/0.00121, allocations: 111.7 kB / 17.06 MB, free: 5.988 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.001266/0.001266, allocations: 195.9 kB / 18 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.425/1.425, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 43.94 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3128, allocations: 49.44 MB / 400.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003012/0.3158, allocations: 1.587 MB / 401.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.3168, allocations: 0.4918 MB / 402.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.3169, allocations: 7.938 kB / 402.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.43e-05/0.3169, allocations: 11.94 kB / 402.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.3171, allocations: 7.875 kB / 402.3 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.3174, allocations: 59.75 kB / 402.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.3176, allocations: 43.91 kB / 402.4 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3177, allocations: 12.17 kB / 402.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.3178, allocations: 23.86 kB / 402.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.332e-05/0.3178, allocations: 19.88 kB / 402.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.3179, allocations: 8 kB / 402.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.3179, allocations: 0 / 402.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.318, allocations: 19.91 kB / 402.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.318, allocations: 31.8 kB / 402.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.3181, allocations: 50.7 kB / 402.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3182, allocations: 0 / 402.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3182, allocations: 4 kB / 402.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3182, allocations: 0 / 402.6 MB, free: 6.578 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.0005473/0.3187, allocations: 379 kB / 403 MB, free: 6.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3188, allocations: 15.97 kB / 403 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.3188, allocations: 38.75 kB / 403 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.3189, allocations: 12.83 kB / 403 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.3192, allocations: 196.2 kB / 403.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3192, allocations: 8.312 kB / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.3192, allocations: 384 / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.3196, allocations: 121.8 kB / 403.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3196, allocations: 0 / 403.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3196, allocations: 0 / 403.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3196, allocations: 0 / 403.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.35e-05/0.3197, allocations: 31.91 kB / 403.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.3201, allocations: 274.6 kB / 403.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3202, allocations: 71.78 kB / 403.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.844e-05/0.3203, allocations: 30.64 kB / 403.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3203, allocations: 4 kB / 403.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3204, allocations: 38.48 kB / 403.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3204, allocations: 0 / 403.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002854/0.3206, allocations: 81.56 kB / 403.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.3207, allocations: 111.2 kB / 404 MB, free: 4.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3209, allocations: 141.8 kB / 404.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3209, allocations: 29.64 kB / 404.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.321, allocations: 96.08 kB / 404.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.321, allocations: 3.953 kB / 404.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.321, allocations: 17.72 kB / 404.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3212, allocations: 318.8 kB / 404.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.3212, allocations: 16 kB / 404.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-05/0.3213, allocations: 35.41 kB / 404.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.581e-05/0.3214, allocations: 55.36 kB / 404.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3214, allocations: 0 / 404.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001302/0.3215, allocations: 69.56 kB / 404.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3215, allocations: 4 kB / 404.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3216, allocations: 4 kB / 404.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3216, allocations: 0 / 404.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.3217, allocations: 11.98 kB / 404.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3217, allocations: 3.938 kB / 404.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.3217, allocations: 12.12 kB / 404.8 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3218, allocations: 0 / 404.8 MB, free: 4.078 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.536e-05/0.3219, allocations: 125.8 kB / 404.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/0.3219, allocations: 45.66 kB / 405 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.322, allocations: 19.8 kB / 405 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.322, allocations: 3.938 kB / 405 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.322, allocations: 4 kB / 405 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.322, allocations: 3.938 kB / 405 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.3222, allocations: 177.7 kB / 405.2 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3222, allocations: 0 / 405.2 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/0.3223, allocations: 11.98 kB / 405.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3223, allocations: 0 / 405.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.3223, allocations: 4 kB / 405.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3223, allocations: 0 / 405.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3223, allocations: 4 kB / 405.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.3225, allocations: 181.1 kB / 405.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.3226, allocations: 93.05 kB / 405.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3226, allocations: 4 kB / 405.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.3227, allocations: 0 / 405.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.3227, allocations: 3.984 kB / 405.5 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.3227, allocations: 4 kB / 405.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.313e-05/0.3228, allocations: 106 kB / 405.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3228, allocations: 4 kB / 405.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.323, allocations: 12 kB / 405.6 MB, free: 3.18 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005006/0.3235, allocations: 0.7139 MB / 406.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.3237, allocations: 31.98 kB / 406.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3237, allocations: 3.938 kB / 406.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.3238, allocations: 11.98 kB / 406.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.3242, allocations: 24.02 kB / 406.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.3256, allocations: 1.396 MB / 407.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.3259, allocations: 0.6961 MB / 408.5 MB, free: 140 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.3259, allocations: 4 kB / 408.5 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.326, allocations: 19.42 kB / 408.5 MB, free: 116 kB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.326, allocations: 0 / 408.5 MB, free: 116 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.3442, allocations: 1.676 MB / 410.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.244, allocations: 8.625 kB / 410.2 MB, free: 14.54 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches