Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 114.9 kB / 17.74 MB, free: 5.328 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.001394/0.001394, allocations: 188.5 kB / 18.67 MB, free: 4.402 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.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2862, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002861/0.2891, allocations: 1.551 MB / 402.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008847/0.29, allocations: 494.6 kB / 403.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.2901, allocations: 7.938 kB / 403.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.618e-05/0.2902, allocations: 3.938 kB / 403.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.2904, allocations: 15.88 kB / 403.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.2907, allocations: 59.3 kB / 403.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.2908, allocations: 43.8 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2909, allocations: 19.98 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.567e-05/0.291, allocations: 19.88 kB / 403.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.291, allocations: 23.84 kB / 403.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.2911, allocations: 4 kB / 403.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.2911, allocations: 8 kB / 403.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.2911, allocations: 11.98 kB / 403.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.2912, allocations: 19.81 kB / 403.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.2913, allocations: 63.73 kB / 403.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2913, allocations: 0 / 403.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2913, allocations: 0 / 403.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2913, allocations: 0 / 403.7 MB, free: 6.527 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.0005099/0.2919, allocations: 368.3 kB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2919, allocations: 12.03 kB / 404.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.2919, allocations: 8.844 kB / 404.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.2922, allocations: 208 kB / 404.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2922, allocations: 8.297 kB / 404.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2922, allocations: 4.375 kB / 404.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.2925, allocations: 117.3 kB / 404.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2925, allocations: 0 / 404.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2925, allocations: 0 / 404.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.2925, allocations: 3.984 kB / 404.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-05/0.2926, allocations: 15.98 kB / 404.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.293, allocations: 261.8 kB / 404.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.844e-05/0.293, allocations: 49.14 kB / 404.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.2931, allocations: 17.78 kB / 404.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2931, allocations: 0 / 404.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.2932, allocations: 42.48 kB / 404.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2932, allocations: 0 / 404.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002589/0.2934, allocations: 65.59 kB / 404.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.2935, allocations: 81.05 kB / 405 MB, free: 5.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2936, allocations: 142.1 kB / 405.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2937, allocations: 25.7 kB / 405.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.2937, allocations: 88.14 kB / 405.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.2937, allocations: 3.906 kB / 405.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.2938, allocations: 21.95 kB / 405.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2939, allocations: 318.8 kB / 405.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.2939, allocations: 7.984 kB / 405.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.294, allocations: 17.72 kB / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.445e-05/0.2941, allocations: 33.58 kB / 405.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2941, allocations: 8 kB / 405.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001087/0.2942, allocations: 49.69 kB / 405.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.2942, allocations: 11.98 kB / 405.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2942, allocations: 0 / 405.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2942, allocations: 0 / 405.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.2943, allocations: 7.938 kB / 405.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.2943, allocations: 0 / 405.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.2944, allocations: 11.94 kB / 405.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.2944, allocations: 4.062 kB / 405.7 MB, free: 4.289 MB / 318.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 7.56e-05/0.2945, allocations: 121.8 kB / 405.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.2945, allocations: 41.61 kB / 405.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.2946, allocations: 11.86 kB / 405.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2946, allocations: 0 / 405.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2946, allocations: 0 / 405.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2946, allocations: 0 / 405.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.2948, allocations: 177.5 kB / 406 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2948, allocations: 0 / 406 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.2948, allocations: 8.031 kB / 406 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2948, allocations: 0 / 406 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.2948, allocations: 0 / 406 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.2949, allocations: 8 kB / 406.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2949, allocations: 0 / 406.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.295, allocations: 164.2 kB / 406.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.2951, allocations: 101 kB / 406.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.2951, allocations: 0 / 406.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.2952, allocations: 0 / 406.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.2952, allocations: 7.984 kB / 406.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.2952, allocations: 0 / 406.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.2953, allocations: 105.8 kB / 406.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2953, allocations: 0 / 406.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.2955, allocations: 4 kB / 406.4 MB, free: 3.449 MB / 318.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 0.00011/0.2957, allocations: 108 kB / 406.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.2958, allocations: 27.92 kB / 406.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2958, allocations: 0 / 406.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.2959, allocations: 4 kB / 406.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.2962, allocations: 19.95 kB / 406.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.2966, allocations: 189.5 kB / 406.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.2968, allocations: 0.6961 MB / 407.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.2969, allocations: 11.44 kB / 407.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of SimCode: time 1.463e-06/0.2969, allocations: 0 / 407.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of Templates: time 0.002276/0.2992, allocations: 0.7288 MB / 408.2 MB, free: 1.605 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches