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.002039/0.002039, allocations: 110.9 kB / 17.06 MB, free: 5.984 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.002527/0.002527, allocations: 196 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.505/1.505, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 51.91 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2971, allocations: 49.44 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003571/0.3008, allocations: 1.583 MB / 401.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3018, allocations: 0.4894 MB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.3019, allocations: 4 kB / 402.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.313e-05/0.302, allocations: 7.922 kB / 402.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.3022, allocations: 11.88 kB / 402.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.3026, allocations: 51.81 kB / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3027, allocations: 47.84 kB / 402.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3028, allocations: 12.19 kB / 402.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.3029, allocations: 27.84 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.303, allocations: 19.92 kB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.303, allocations: 7.938 kB / 402.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.789e-05/0.3031, allocations: 4 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.3031, allocations: 11.98 kB / 402.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.3032, allocations: 27.75 kB / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.3033, allocations: 58.69 kB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3034, allocations: 0 / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3034, allocations: 0 / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3034, allocations: 0 / 402.6 MB, free: 6.43 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.0006492/0.304, allocations: 391 kB / 403 MB, free: 6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3041, allocations: 8.031 kB / 403 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.3041, allocations: 38.73 kB / 403 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.3042, allocations: 8.891 kB / 403 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.3045, allocations: 207.3 kB / 403.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3045, allocations: 384 / 403.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.3045, allocations: 12.31 kB / 403.3 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.3048, allocations: 113.8 kB / 403.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3048, allocations: 0 / 403.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3049, allocations: 4 kB / 403.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3049, allocations: 0 / 403.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.839e-05/0.305, allocations: 19.98 kB / 403.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.3054, allocations: 278.5 kB / 403.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3056, allocations: 67.78 kB / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.3057, allocations: 38.62 kB / 403.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3057, allocations: 0 / 403.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.3058, allocations: 30.56 kB / 403.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3058, allocations: 0 / 403.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000316/0.3061, allocations: 93.84 kB / 403.9 MB, free: 4.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.3062, allocations: 110.8 kB / 404 MB, free: 4.793 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3064, allocations: 137.8 kB / 404.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3064, allocations: 25.7 kB / 404.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.3065, allocations: 100.1 kB / 404.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.3065, allocations: 3.953 kB / 404.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.3066, allocations: 17.72 kB / 404.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3067, allocations: 326.8 kB / 404.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.3068, allocations: 8 kB / 404.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.3069, allocations: 35.42 kB / 404.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.307, allocations: 51.36 kB / 404.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.307, allocations: 4 kB / 404.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001449/0.3072, allocations: 73.44 kB / 404.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3072, allocations: 8 kB / 404.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3072, allocations: 0 / 404.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3072, allocations: 0 / 404.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.3073, allocations: 8 kB / 404.8 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.3073, allocations: 8.125 kB / 404.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.3074, allocations: 7.984 kB / 404.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3074, allocations: 8.078 kB / 404.8 MB, free: 3.922 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 0.0001127/0.3075, allocations: 117.8 kB / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.3076, allocations: 61.56 kB / 405 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.3077, allocations: 7.875 kB / 405 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3077, allocations: 4 kB / 405 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3077, allocations: 64 / 405 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3077, allocations: 4 kB / 405 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.3079, allocations: 177.6 kB / 405.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3079, allocations: 0 / 405.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.308, allocations: 12 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.308, allocations: 0 / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.308, allocations: 4 kB / 405.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.435e-06/0.308, allocations: 7.922 kB / 405.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.308, allocations: 0 / 405.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.3083, allocations: 177.1 kB / 405.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.3084, allocations: 97.05 kB / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3084, allocations: 0 / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.3085, allocations: 0 / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.3085, allocations: 4 kB / 405.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.3085, allocations: 0 / 405.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.3086, allocations: 121.8 kB / 405.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3086, allocations: 0 / 405.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.3089, allocations: 4 kB / 405.6 MB, free: 3.031 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.0006638/0.3095, allocations: 0.7217 MB / 406.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.3097, allocations: 35.91 kB / 406.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3097, allocations: 0 / 406.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.3098, allocations: 8 kB / 406.3 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3102, allocations: 27.89 kB / 406.4 MB, free: 2.207 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.312, allocations: 1.408 MB / 407.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.3124, allocations: 0.7 MB / 408.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.811e-05/0.3124, allocations: 0 / 408.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.3125, allocations: 15.44 kB / 408.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3125, allocations: 0 / 408.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.3378, allocations: 1.668 MB / 410.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.627/8.965, allocations: 8.547 kB / 410.2 MB, free: 14.39 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 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.mat","/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