Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001477, allocations: 114.4 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.001361/0.001361, allocations: 179.1 kB / 18.67 MB, free: 4.43 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.579/1.579, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 56 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2868, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003673/0.2905, allocations: 1.592 MB / 403 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009055/0.2914, allocations: 474.7 kB / 403.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.66e-05/0.2915, allocations: 0 / 403.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/0.2916, allocations: 3.938 kB / 403.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.2918, allocations: 23.86 kB / 403.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.2921, allocations: 43.88 kB / 403.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.2922, allocations: 51.8 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2923, allocations: 16.17 kB / 403.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.2924, allocations: 23.86 kB / 403.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.2924, allocations: 19.86 kB / 403.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.2925, allocations: 4 kB / 403.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.2925, allocations: 8 kB / 403.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.2926, allocations: 15.92 kB / 403.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.2926, allocations: 27.8 kB / 403.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.2927, allocations: 55.55 kB / 403.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2927, allocations: 0 / 403.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2927, allocations: 0 / 403.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.2928, allocations: 0 / 403.8 MB, free: 6.523 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.0006721/0.2934, allocations: 381.7 kB / 404.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2935, allocations: 8.031 kB / 404.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.2935, allocations: 16.83 kB / 404.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.2938, allocations: 200.2 kB / 404.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2938, allocations: 8.312 kB / 404.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.2939, allocations: 384 / 404.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.2942, allocations: 126 kB / 404.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2942, allocations: 0 / 404.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.2942, allocations: 0 / 404.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2942, allocations: 0 / 404.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.783e-05/0.2943, allocations: 23.98 kB / 404.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.2947, allocations: 274.5 kB / 404.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.2948, allocations: 71.78 kB / 404.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.982e-05/0.2949, allocations: 30.62 kB / 404.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.2949, allocations: 8 kB / 404.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.295, allocations: 34.5 kB / 404.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.295, allocations: 0 / 404.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002868/0.2953, allocations: 89.48 kB / 405 MB, free: 5.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.2954, allocations: 111.2 kB / 405.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.2955, allocations: 137.8 kB / 405.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2955, allocations: 25.7 kB / 405.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.2956, allocations: 96.12 kB / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.2956, allocations: 3.953 kB / 405.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.2957, allocations: 17.72 kB / 405.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2958, allocations: 318.8 kB / 405.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.2959, allocations: 12 kB / 405.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-05/0.2959, allocations: 35.42 kB / 405.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.668e-05/0.2961, allocations: 47.36 kB / 405.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2961, allocations: 0 / 405.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001452/0.2962, allocations: 77.5 kB / 405.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2962, allocations: 8 kB / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2963, allocations: 0 / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.2963, allocations: 0 / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.2964, allocations: 8 kB / 405.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2964, allocations: 0 / 405.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.2964, allocations: 11.92 kB / 405.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.2964, allocations: 128 / 405.9 MB, free: 4.086 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.495e-05/0.2966, allocations: 125.8 kB / 406 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.095e-05/0.2967, allocations: 61.66 kB / 406.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.2967, allocations: 7.875 kB / 406.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2967, allocations: 0 / 406.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2967, allocations: 4 kB / 406.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2967, allocations: 4 kB / 406.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.297, allocations: 177.6 kB / 406.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.297, allocations: 3.938 kB / 406.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.297, allocations: 16.06 kB / 406.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.297, allocations: 0 / 406.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2971, allocations: 3.984 kB / 406.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2971, allocations: 7.938 kB / 406.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2971, allocations: 0 / 406.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.2973, allocations: 177.1 kB / 406.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.2974, allocations: 96.98 kB / 406.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.2974, allocations: 4 kB / 406.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.2975, allocations: 4 kB / 406.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.2975, allocations: 0 / 406.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.2975, allocations: 4 kB / 406.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.557e-05/0.2976, allocations: 114.2 kB / 406.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2977, allocations: 0 / 406.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.2979, allocations: 8 kB / 406.7 MB, free: 3.176 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.0001363/0.298, allocations: 107.9 kB / 406.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.2982, allocations: 35.91 kB / 406.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2982, allocations: 0 / 406.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.2983, allocations: 8 kB / 406.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.2987, allocations: 27.95 kB / 406.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.2992, allocations: 189 kB / 407.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.2996, allocations: 0.6961 MB / 407.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.402e-05/0.2997, allocations: 4 kB / 407.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.2997, allocations: 7.438 kB / 407.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2997, allocations: 0 / 407.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of Templates: time 0.003659/0.3034, allocations: 0.6087 MB / 408.4 MB, free: 1.441 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches