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.002022/0.002022, allocations: 104 kB / 17.06 MB, free: 6.027 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.002677/0.002677, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.195/2.195, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 43.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4998, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003905/0.5038, allocations: 1.572 MB / 401.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.505, allocations: 0.4929 MB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.5051, allocations: 0 / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.869e-05/0.5052, allocations: 7.922 kB / 402.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.5055, allocations: 11.88 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.5059, allocations: 55.81 kB / 402.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.5061, allocations: 47.78 kB / 402.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.5062, allocations: 20.17 kB / 402.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.879e-05/0.5063, allocations: 27.91 kB / 402.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.633e-05/0.5064, allocations: 19.86 kB / 402.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.5064, allocations: 4 kB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.5064, allocations: 4 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.5065, allocations: 15.92 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.5066, allocations: 23.81 kB / 402.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.5067, allocations: 63.67 kB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5067, allocations: 4 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5067, allocations: 0 / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.5068, allocations: 0 / 402.6 MB, free: 6.426 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.000616/0.5074, allocations: 372.9 kB / 403 MB, free: 6.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.5074, allocations: 11.89 kB / 403 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.5075, allocations: 34.73 kB / 403 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.5075, allocations: 12.84 kB / 403 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.5079, allocations: 204.1 kB / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.5079, allocations: 4.375 kB / 403.2 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.508, allocations: 8.312 kB / 403.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.5083, allocations: 109.8 kB / 403.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5083, allocations: 4 kB / 403.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5084, allocations: 8 kB / 403.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.5084, allocations: 0 / 403.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.054e-05/0.5085, allocations: 19.98 kB / 403.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.5089, allocations: 274.5 kB / 403.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.5091, allocations: 71.78 kB / 403.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.5092, allocations: 38.56 kB / 403.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.5092, allocations: 0 / 403.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.5093, allocations: 42.56 kB / 403.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.5093, allocations: 0 / 403.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003295/0.5096, allocations: 81.45 kB / 403.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.5097, allocations: 110.8 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.5099, allocations: 145.8 kB / 404.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.5099, allocations: 26.08 kB / 404.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.51, allocations: 88.14 kB / 404.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.51, allocations: 3.984 kB / 404.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.5101, allocations: 25.66 kB / 404.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.5102, allocations: 318.8 kB / 404.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/0.5103, allocations: 7.984 kB / 404.6 MB, free: 4.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.331e-05/0.5103, allocations: 35.42 kB / 404.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.5104, allocations: 55.36 kB / 404.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.5105, allocations: 0 / 404.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001744/0.5106, allocations: 81.52 kB / 404.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5107, allocations: 4 kB / 404.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.5107, allocations: 0 / 404.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.5107, allocations: 4 kB / 404.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.974e-05/0.5108, allocations: 8 kB / 404.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.5108, allocations: 0 / 404.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.5109, allocations: 11.92 kB / 404.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.5109, allocations: 0 / 404.8 MB, free: 3.938 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.0001114/0.511, allocations: 117.8 kB / 404.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.5112, allocations: 61.59 kB / 405 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.5112, allocations: 11.88 kB / 405 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5112, allocations: 0 / 405 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5112, allocations: 4 kB / 405 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.5112, allocations: 4 kB / 405 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.5114, allocations: 173.6 kB / 405.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5115, allocations: 0 / 405.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.5115, allocations: 8 kB / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.5115, allocations: 4 kB / 405.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.5116, allocations: 4.062 kB / 405.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.5116, allocations: 7.922 kB / 405.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5116, allocations: 3.938 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.5118, allocations: 181.1 kB / 405.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.5119, allocations: 93.12 kB / 405.4 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.512, allocations: 4 kB / 405.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.512, allocations: 11.98 kB / 405.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.5121, allocations: 0 / 405.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.5121, allocations: 4 kB / 405.5 MB, free: 3.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.783e-05/0.5122, allocations: 110 kB / 405.6 MB, free: 3.043 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5122, allocations: 0 / 405.6 MB, free: 3.043 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.5125, allocations: 4 kB / 405.6 MB, free: 3.039 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.00067/0.5132, allocations: 0.7178 MB / 406.3 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.5134, allocations: 35.91 kB / 406.3 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5134, allocations: 4 kB / 406.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.5134, allocations: 8.25 kB / 406.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.5138, allocations: 35.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.001843/0.5157, allocations: 1.392 MB / 407.8 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.5162, allocations: 0.6922 MB / 408.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.989e-05/0.5163, allocations: 11.98 kB / 408.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.5164, allocations: 15.44 kB / 408.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5164, allocations: 0 / 408.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.5448, allocations: 1.696 MB / 410.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.05, allocations: 12.67 kB / 410.2 MB, free: 14.37 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