Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 114.9 kB / 17.74 MB, free: 5.316 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.002097/0.002097, allocations: 184.4 kB / 18.67 MB, free: 4.398 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.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 43.94 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.287, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002989/0.29, allocations: 1.497 MB / 402.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003921/0.2904, allocations: 139.5 kB / 403 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.2905, allocations: 4 kB / 403 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.254e-05/0.2906, allocations: 3.938 kB / 403 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.2907, allocations: 3.938 kB / 403 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.291, allocations: 43.39 kB / 403.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.904e-05/0.2911, allocations: 31.91 kB / 403.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2912, allocations: 12 kB / 403.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.2912, allocations: 11.94 kB / 403.1 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.2913, allocations: 11.86 kB / 403.1 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.2913, allocations: 4 kB / 403.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.2913, allocations: 0 / 403.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.2914, allocations: 11.94 kB / 403.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.2914, allocations: 23.8 kB / 403.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.2915, allocations: 43.83 kB / 403.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2915, allocations: 4 kB / 403.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2916, allocations: 0 / 403.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2916, allocations: 0 / 403.2 MB, free: 7.043 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004449/0.292, allocations: 359.2 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2921, allocations: 11.97 kB / 403.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.2921, allocations: 12.83 kB / 403.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.2923, allocations: 189.4 kB / 403.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-06/0.2924, allocations: 384 / 403.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2924, allocations: 8.375 kB / 403.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.2926, allocations: 89.61 kB / 403.9 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2927, allocations: 192 / 403.9 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2927, allocations: 3.938 kB / 403.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2927, allocations: 4 kB / 403.9 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.2928, allocations: 15.92 kB / 403.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.2931, allocations: 257.8 kB / 404.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.306e-05/0.2932, allocations: 45.08 kB / 404.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.2932, allocations: 29.7 kB / 404.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2933, allocations: 4 kB / 404.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2933, allocations: 30.56 kB / 404.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2933, allocations: 0 / 404.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002334/0.2935, allocations: 61.53 kB / 404.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.2936, allocations: 81.09 kB / 404.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2938, allocations: 141.7 kB / 404.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2938, allocations: 25.7 kB / 404.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.2938, allocations: 88.12 kB / 404.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.888e-06/0.2939, allocations: 4 kB / 404.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.2939, allocations: 17.72 kB / 404.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.294, allocations: 314.8 kB / 405 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.894e-05/0.2941, allocations: 7.938 kB / 405 MB, free: 5.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.2941, allocations: 25.7 kB / 405 MB, free: 5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.097e-05/0.2942, allocations: 25.7 kB / 405 MB, free: 4.969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2942, allocations: 0 / 405 MB, free: 4.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001092/0.2943, allocations: 61.47 kB / 405.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2943, allocations: 4 kB / 405.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2943, allocations: 4.125 kB / 405.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2944, allocations: 0 / 405.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.2944, allocations: 4 kB / 405.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2944, allocations: 4 kB / 405.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.2945, allocations: 3.984 kB / 405.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2945, allocations: 0 / 405.1 MB, free: 4.883 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: 2 (step.y,sample1.y) * 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 9.447e-05/0.2946, allocations: 121.8 kB / 405.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.2947, allocations: 37.55 kB / 405.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.2947, allocations: 19.89 kB / 405.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2947, allocations: 0 / 405.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2947, allocations: 0 / 405.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2947, allocations: 4 kB / 405.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.2949, allocations: 173.5 kB / 405.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2949, allocations: 4 kB / 405.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.295, allocations: 4 kB / 405.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.295, allocations: 3.984 kB / 405.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.295, allocations: 3.938 kB / 405.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.295, allocations: 4 kB / 405.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.295, allocations: 0 / 405.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.2952, allocations: 164.3 kB / 405.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.2952, allocations: 89.02 kB / 405.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.2953, allocations: 3.984 kB / 405.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.2953, allocations: 4 kB / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.2954, allocations: 0 / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.2954, allocations: 4.031 kB / 405.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.245e-05/0.2955, allocations: 103.3 kB / 405.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2955, allocations: 0 / 405.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.2957, allocations: 7.984 kB / 405.9 MB, free: 4.039 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: 2 (step.y,sample1.y) * 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.9e-05/0.2958, allocations: 99.98 kB / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.2959, allocations: 19.98 kB / 406 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2959, allocations: 3.938 kB / 406 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.308e-05/0.296, allocations: 12.12 kB / 406 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.2963, allocations: 26.98 kB / 406 MB, free: 3.875 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.2966, allocations: 168 kB / 406.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.2969, allocations: 0.6844 MB / 406.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.2969, allocations: 11.44 kB / 406.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.297, allocations: 0 / 406.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of Templates: time 0.001925/0.2989, allocations: 0.6211 MB / 407.5 MB, free: 2.328 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches