Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001494, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009718/0.0009719, allocations: 105.8 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000969/0.0009692, allocations: 47.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2867, allocations: 50.45 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002876/0.2897, allocations: 1.657 MB / 408.7 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009431/0.2906, allocations: 0.4961 MB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.66e-05/0.2908, allocations: 7.938 kB / 409.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.503e-05/0.2909, allocations: 4 kB / 409.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.291, allocations: 11.88 kB / 409.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.2913, allocations: 47.89 kB / 409.3 MB, free: 25.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2914, allocations: 43.84 kB / 409.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2916, allocations: 12.17 kB / 409.3 MB, free: 25.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.2917, allocations: 27.86 kB / 409.4 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.2918, allocations: 31.84 kB / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2918, allocations: 0 / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.443e-05/0.2918, allocations: 8 kB / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.2919, allocations: 11.92 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.2919, allocations: 27.81 kB / 409.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.2921, allocations: 55.73 kB / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2921, allocations: 0 / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2921, allocations: 4 kB / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.2921, allocations: 0 / 409.5 MB, free: 25.38 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.0004231/0.2925, allocations: 376.7 kB / 409.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2926, allocations: 16.59 kB / 409.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.2927, allocations: 16.83 kB / 409.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.2929, allocations: 200.1 kB / 410.1 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2929, allocations: 4.375 kB / 410.1 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.293, allocations: 8.312 kB / 410.1 MB, free: 24.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.2932, allocations: 114 kB / 410.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2932, allocations: 0 / 410.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.2932, allocations: 8 kB / 410.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2932, allocations: 0 / 410.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.439e-05/0.2933, allocations: 19.97 kB / 410.2 MB, free: 24.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.2936, allocations: 282.5 kB / 410.5 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.77e-05/0.2937, allocations: 67.78 kB / 410.6 MB, free: 24.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.2937, allocations: 34.64 kB / 410.6 MB, free: 24.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.2938, allocations: 4 kB / 410.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2938, allocations: 42.55 kB / 410.7 MB, free: 24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2938, allocations: 0 / 410.7 MB, free: 24 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002576/0.2941, allocations: 85.39 kB / 410.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.2941, allocations: 111.2 kB / 410.9 MB, free: 23.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.2943, allocations: 140.2 kB / 411 MB, free: 23.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2943, allocations: 33.7 kB / 411 MB, free: 23.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.2944, allocations: 84.14 kB / 411.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.2944, allocations: 0 / 411.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.2944, allocations: 21.62 kB / 411.1 MB, free: 23.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.2945, allocations: 326.8 kB / 411.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.222e-05/0.2946, allocations: 7.984 kB / 411.5 MB, free: 23.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/0.2946, allocations: 35.44 kB / 411.5 MB, free: 23.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.802e-05/0.2947, allocations: 47.36 kB / 411.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2947, allocations: 4 kB / 411.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001149/0.2948, allocations: 69.55 kB / 411.6 MB, free: 22.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2949, allocations: 4 kB / 411.6 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.2949, allocations: 0 / 411.6 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2949, allocations: 4 kB / 411.6 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.295, allocations: 11.98 kB / 411.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.295, allocations: 4 kB / 411.6 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.295, allocations: 7.969 kB / 411.6 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.295, allocations: 8 kB / 411.6 MB, free: 22.93 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 8.092e-05/0.2951, allocations: 127.2 kB / 411.8 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.2952, allocations: 53.55 kB / 411.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.2953, allocations: 15.86 kB / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2953, allocations: 0 / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2953, allocations: 0 / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2953, allocations: 4 kB / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.2954, allocations: 173.6 kB / 412 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2954, allocations: 4.062 kB / 412 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.2955, allocations: 11.98 kB / 412 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2955, allocations: 0 / 412 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2955, allocations: 7.938 kB / 412 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2955, allocations: 3.938 kB / 412 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2955, allocations: 0 / 412 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.2959, allocations: 0.7373 MB / 412.8 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.2959, allocations: 97.12 kB / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.2959, allocations: 4 kB / 412.9 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.296, allocations: 7.984 kB / 412.9 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.296, allocations: 3.938 kB / 412.9 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2961, allocations: 0 / 412.9 MB, free: 21.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.906e-05/0.2961, allocations: 117.7 kB / 413 MB, free: 21.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2961, allocations: 0 / 413 MB, free: 21.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003159/0.2964, allocations: 4 kB / 413 MB, free: 21.41 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 8.55e-05/0.2965, allocations: 99.19 kB / 413.1 MB, free: 21.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.2967, allocations: 39.91 kB / 413.1 MB, free: 21.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2967, allocations: 0 / 413.1 MB, free: 21.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.327e-05/0.2967, allocations: 4.25 kB / 413.1 MB, free: 21.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2971, allocations: 34.83 kB / 413.2 MB, free: 21.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.2975, allocations: 301.5 kB / 413.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.2976, allocations: 0.6965 MB / 414.2 MB, free: 20.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.117e-05/0.2977, allocations: 0 / 414.2 MB, free: 20.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.2977, allocations: 15.38 kB / 414.2 MB, free: 20.16 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2977, allocations: 0 / 414.2 MB, free: 20.16 MB / 298.7 MB Notification: Performance of Templates: time 0.002307/0.3, allocations: 0.5629 MB / 414.7 MB, free: 19.61 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches