Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2843, allocations: 50.54 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00285/0.2872, allocations: 1.554 MB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2883, allocations: 0.5609 MB / 412 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.214e-05/0.2884, allocations: 3.938 kB / 412 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.636e-05/0.2884, allocations: 3.938 kB / 412 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.2886, allocations: 15.88 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.2889, allocations: 63.8 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.289, allocations: 47.78 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.2891, allocations: 16.12 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.2893, allocations: 27.91 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.2893, allocations: 19.86 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2894, allocations: 4 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.573e-05/0.2894, allocations: 12 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.2895, allocations: 19.86 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.2895, allocations: 23.81 kB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.2897, allocations: 63.73 kB / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2897, allocations: 0 / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2897, allocations: 0 / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.2897, allocations: 0 / 412.3 MB, free: 15.11 MB / 334.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.0005114/0.2902, allocations: 380.3 kB / 412.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2903, allocations: 8.031 kB / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.2904, allocations: 20.84 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.2907, allocations: 204.1 kB / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2907, allocations: 384 / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.2907, allocations: 4.375 kB / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.291, allocations: 117.1 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.291, allocations: 3.938 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.291, allocations: 0 / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.2911, allocations: 4 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.2911, allocations: 19.92 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.2915, allocations: 257.7 kB / 413.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.592e-05/0.2916, allocations: 53.14 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.2916, allocations: 21.77 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2916, allocations: 4 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2917, allocations: 30.56 kB / 413.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 3.216e-06/0.2917, allocations: 4 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002379/0.2919, allocations: 61.61 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.292, allocations: 85.05 kB / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2921, allocations: 140.2 kB / 413.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2921, allocations: 25.7 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.2922, allocations: 96.03 kB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.2922, allocations: 256 / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.2923, allocations: 21.72 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.2924, allocations: 318.8 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.2924, allocations: 12 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.2925, allocations: 17.7 kB / 414.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.559e-05/0.2926, allocations: 33.77 kB / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2926, allocations: 0 / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001162/0.2927, allocations: 57.53 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2927, allocations: 4 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2927, allocations: 7.938 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2927, allocations: 0 / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.2928, allocations: 11.98 kB / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2928, allocations: 3.984 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.2929, allocations: 8.062 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.2929, allocations: 0 / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.434e-05/0.293, allocations: 129.6 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.293, allocations: 41.59 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.2931, allocations: 15.83 kB / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2931, allocations: 0 / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2931, allocations: 0 / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2931, allocations: 0 / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.2933, allocations: 173.6 kB / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2933, allocations: 4.031 kB / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.2933, allocations: 7.984 kB / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2933, allocations: 3.938 kB / 414.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.2933, allocations: 0 / 414.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2934, allocations: 4 kB / 414.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2934, allocations: 0 / 414.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.2935, allocations: 164.2 kB / 414.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.2936, allocations: 93.02 kB / 415 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.2936, allocations: 3.984 kB / 415 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.2937, allocations: 0 / 415 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.2938, allocations: 4 kB / 415 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.2938, allocations: 0 / 415 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.727e-05/0.2938, allocations: 109.5 kB / 415.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2938, allocations: 0 / 415.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.2941, allocations: 12 kB / 415.1 MB, free: 12 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.542e-05/0.2942, allocations: 95.28 kB / 415.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.2943, allocations: 27.92 kB / 415.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2943, allocations: 0 / 415.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.2944, allocations: 7.984 kB / 415.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.2947, allocations: 15.97 kB / 415.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.2951, allocations: 197.5 kB / 415.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.2953, allocations: 0.6846 MB / 416.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.2954, allocations: 11.42 kB / 416.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2954, allocations: 0 / 416.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of Templates: time 0.002147/0.2975, allocations: 0.7552 MB / 416.9 MB, free: 10.14 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches