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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 110.9 kB / 17.74 MB, free: 5.352 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.001144/0.001143, allocations: 192.5 kB / 18.67 MB, free: 4.426 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.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.283, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003212/0.2862, allocations: 1.579 MB / 403 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.2873, allocations: 0.4908 MB / 403.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.2874, allocations: 3.938 kB / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.853e-05/0.2875, allocations: 7.938 kB / 403.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.2877, allocations: 19.86 kB / 403.5 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.288, allocations: 51.81 kB / 403.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.2881, allocations: 47.8 kB / 403.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2883, allocations: 20.16 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.2884, allocations: 15.94 kB / 403.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.2884, allocations: 19.86 kB / 403.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2885, allocations: 11.94 kB / 403.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.2885, allocations: 4 kB / 403.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.2885, allocations: 15.92 kB / 403.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.2886, allocations: 23.81 kB / 403.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.2887, allocations: 59.73 kB / 403.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2887, allocations: 0 / 403.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2887, allocations: 0 / 403.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2888, allocations: 0 / 403.8 MB, free: 6.504 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.0004975/0.2893, allocations: 376.3 kB / 404.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.2893, allocations: 19.89 kB / 404.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.2894, allocations: 8.844 kB / 404.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.2897, allocations: 200.1 kB / 404.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.2897, allocations: 4.375 kB / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.2897, allocations: 4.375 kB / 404.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.29, allocations: 118 kB / 404.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.29, allocations: 0 / 404.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2901, allocations: 4 kB / 404.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2901, allocations: 0 / 404.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.65e-05/0.2902, allocations: 27.92 kB / 404.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.2905, allocations: 274.6 kB / 404.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.2906, allocations: 67.78 kB / 404.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.761e-05/0.2907, allocations: 30.62 kB / 404.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.2908, allocations: 11.94 kB / 404.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.2908, allocations: 34.5 kB / 404.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.2908, allocations: 0 / 404.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003067/0.2911, allocations: 85.52 kB / 405 MB, free: 5.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.2912, allocations: 115.1 kB / 405.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2913, allocations: 141.8 kB / 405.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2913, allocations: 25.7 kB / 405.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.2914, allocations: 100 kB / 405.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.2914, allocations: 0 / 405.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.2915, allocations: 17.72 kB / 405.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2916, allocations: 318.8 kB / 405.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.2916, allocations: 16 kB / 405.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/0.2917, allocations: 35.42 kB / 405.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.2918, allocations: 51.36 kB / 405.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2918, allocations: 0 / 405.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.292, allocations: 69.52 kB / 405.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.292, allocations: 4 kB / 405.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.292, allocations: 4 kB / 405.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.292, allocations: 0 / 405.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.2921, allocations: 8 kB / 405.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2921, allocations: 7.875 kB / 405.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.2922, allocations: 20.05 kB / 405.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.2922, allocations: 0 / 405.9 MB, free: 4.051 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 8.773e-05/0.2923, allocations: 121.8 kB / 406.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.2924, allocations: 53.53 kB / 406.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.2924, allocations: 11.97 kB / 406.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2924, allocations: 3.984 kB / 406.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.2924, allocations: 4 kB / 406.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2924, allocations: 0 / 406.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.2926, allocations: 177.6 kB / 406.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2927, allocations: 4 kB / 406.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.2927, allocations: 8 kB / 406.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2927, allocations: 0 / 406.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2927, allocations: 0 / 406.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2927, allocations: 4 kB / 406.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2928, allocations: 3.984 kB / 406.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.293, allocations: 181 kB / 406.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.293, allocations: 96.94 kB / 406.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.293, allocations: 4 kB / 406.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.2931, allocations: 4 kB / 406.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.2932, allocations: 0 / 406.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2932, allocations: 8 kB / 406.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.982e-05/0.2933, allocations: 110 kB / 406.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2933, allocations: 0 / 406.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.2935, allocations: 12 kB / 406.7 MB, free: 3.152 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.0001106/0.2936, allocations: 99.19 kB / 406.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.2938, allocations: 39.91 kB / 406.9 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2938, allocations: 0 / 406.9 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.434e-05/0.2939, allocations: 4 kB / 406.9 MB, free: 3.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2942, allocations: 36.39 kB / 406.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.2946, allocations: 206.3 kB / 407.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.295, allocations: 0.6961 MB / 407.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.295, allocations: 11.44 kB / 407.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.295, allocations: 0 / 407.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of Templates: time 0.002369/0.2974, allocations: 0.8331 MB / 408.6 MB, free: 1.164 MB / 318.1 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/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