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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001118, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 101.6 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 35.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2868, allocations: 49.45 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002563/0.2894, allocations: 1.631 MB / 401.1 MB, free: 31.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.2901, allocations: 498.8 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.2903, allocations: 1.5 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.2903, allocations: 3.938 kB / 401.6 MB, free: 31.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.123e-05/0.2904, allocations: 19.91 kB / 401.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.2907, allocations: 47.91 kB / 401.7 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.899e-05/0.2907, allocations: 43.8 kB / 401.7 MB, free: 31.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.263e-05/0.2908, allocations: 16.16 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.2909, allocations: 19.92 kB / 401.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.2909, allocations: 19.88 kB / 401.8 MB, free: 31.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.2909, allocations: 0 / 401.8 MB, free: 31.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.291, allocations: 4 kB / 401.8 MB, free: 31.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.291, allocations: 15.92 kB / 401.8 MB, free: 31.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.291, allocations: 35.78 kB / 401.8 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.02e-05/0.2911, allocations: 43.83 kB / 401.9 MB, free: 30.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2911, allocations: 7.938 kB / 401.9 MB, free: 30.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2911, allocations: 0 / 401.9 MB, free: 30.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2911, allocations: 0 / 401.9 MB, free: 30.97 MB / 298.7 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.0003398/0.2915, allocations: 376.7 kB / 402.2 MB, free: 30.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.2915, allocations: 12.03 kB / 402.2 MB, free: 30.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.2916, allocations: 8.844 kB / 402.3 MB, free: 30.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.2917, allocations: 196.1 kB / 402.4 MB, free: 30.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.2917, allocations: 8.375 kB / 402.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.2917, allocations: 384 / 402.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2919, allocations: 121.9 kB / 402.6 MB, free: 30.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.292, allocations: 0 / 402.6 MB, free: 30.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.292, allocations: 0 / 402.6 MB, free: 30.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.292, allocations: 8 kB / 402.6 MB, free: 30.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.2921, allocations: 23.92 kB / 402.6 MB, free: 30.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.2923, allocations: 266.6 kB / 402.9 MB, free: 29.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.359e-05/0.2924, allocations: 71.78 kB / 402.9 MB, free: 29.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.2925, allocations: 34.62 kB / 403 MB, free: 29.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.2925, allocations: 4 kB / 403 MB, free: 29.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.2925, allocations: 38.5 kB / 403 MB, free: 29.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2925, allocations: 0 / 403 MB, free: 29.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002213/0.2927, allocations: 85.45 kB / 403.1 MB, free: 29.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.2928, allocations: 110.8 kB / 403.2 MB, free: 29.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.2929, allocations: 144.7 kB / 403.3 MB, free: 29.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.2929, allocations: 26.08 kB / 403.4 MB, free: 29.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.2929, allocations: 96.08 kB / 403.5 MB, free: 29.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.293, allocations: 4 kB / 403.5 MB, free: 29.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.293, allocations: 21.61 kB / 403.5 MB, free: 29.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.2931, allocations: 322.8 kB / 403.8 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/0.2931, allocations: 7.984 kB / 403.8 MB, free: 28.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.157e-05/0.2932, allocations: 39.42 kB / 403.8 MB, free: 28.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.2932, allocations: 47.36 kB / 403.9 MB, free: 28.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2933, allocations: 0 / 403.9 MB, free: 28.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001109/0.2934, allocations: 65.81 kB / 404 MB, free: 28.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2934, allocations: 12.03 kB / 404 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2934, allocations: 7.969 kB / 404 MB, free: 28.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.2934, allocations: 0 / 404 MB, free: 28.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.2935, allocations: 11.98 kB / 404 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2935, allocations: 3.938 kB / 404 MB, free: 28.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.665e-05/0.2935, allocations: 8 kB / 404 MB, free: 28.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2936, allocations: 4 kB / 404 MB, free: 28.53 MB / 298.7 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 6.935e-05/0.2936, allocations: 129.6 kB / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.2937, allocations: 49.61 kB / 404.2 MB, free: 28.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.2937, allocations: 15.86 kB / 404.2 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2937, allocations: 7.938 kB / 404.2 MB, free: 28.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.2937, allocations: 0 / 404.2 MB, free: 28.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2938, allocations: 0 / 404.2 MB, free: 28.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.2939, allocations: 181.5 kB / 404.4 MB, free: 28.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2939, allocations: 0 / 404.4 MB, free: 28.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.2939, allocations: 11.98 kB / 404.4 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.294, allocations: 0 / 404.4 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.294, allocations: 0 / 404.4 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.294, allocations: 8.062 kB / 404.4 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.294, allocations: 0 / 404.4 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.2943, allocations: 0.7373 MB / 405.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.2943, allocations: 97 kB / 405.2 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.2944, allocations: 4 kB / 405.2 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.2944, allocations: 0 / 405.2 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.2945, allocations: 11.88 kB / 405.2 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.2945, allocations: 3.984 kB / 405.3 MB, free: 27.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.94e-05/0.2945, allocations: 107.3 kB / 405.4 MB, free: 27.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2945, allocations: 0 / 405.4 MB, free: 27.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.2948, allocations: 8 kB / 405.4 MB, free: 27.02 MB / 298.7 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 9.191e-05/0.2949, allocations: 111.1 kB / 405.5 MB, free: 26.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.295, allocations: 27.98 kB / 405.5 MB, free: 26.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2951, allocations: 0 / 405.5 MB, free: 26.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.2951, allocations: 7.938 kB / 405.5 MB, free: 26.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.2954, allocations: 34.94 kB / 405.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.2957, allocations: 309.7 kB / 405.8 MB, free: 26.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2958, allocations: 0.6965 MB / 406.5 MB, free: 25.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.94e-05/0.2959, allocations: 7.984 kB / 406.6 MB, free: 25.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.2959, allocations: 11.44 kB / 406.6 MB, free: 25.74 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2959, allocations: 0 / 406.6 MB, free: 25.74 MB / 298.7 MB Notification: Performance of Templates: time 0.001903/0.2978, allocations: 0.5543 MB / 407.1 MB, free: 25.2 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches