Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001911/0.001911, allocations: 112.6 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003141/0.003141, allocations: 203.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.578/2.578, allocations: 227.4 MB / 247.6 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 56.09 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2866, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002292/0.2889, allocations: 0.8394 MB / 410.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004013/0.2893, allocations: 119.6 kB / 410.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.172e-05/0.2894, allocations: 0 / 410.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.2895, allocations: 11.88 kB / 410.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.2897, allocations: 3.938 kB / 410.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.2899, allocations: 47.89 kB / 410.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.29, allocations: 39.91 kB / 411 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2901, allocations: 23.98 kB / 411 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.2902, allocations: 15.88 kB / 411 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.753e-05/0.2903, allocations: 23.91 kB / 411 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2903, allocations: 0 / 411 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.2903, allocations: 8 kB / 411 MB, free: 500 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.2904, allocations: 19.92 kB / 411.1 MB, free: 480 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.2904, allocations: 23.81 kB / 411.1 MB, free: 456 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.2905, allocations: 59.73 kB / 411.2 MB, free: 396 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2906, allocations: 3.938 kB / 411.2 MB, free: 392 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2906, allocations: 0 / 411.2 MB, free: 392 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.2906, allocations: 0 / 411.2 MB, free: 392 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005209/0.2911, allocations: 386.9 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.2912, allocations: 8.031 kB / 411.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.2912, allocations: 8.844 kB / 411.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2914, allocations: 205.4 kB / 411.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.2914, allocations: 384 / 411.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.2915, allocations: 8.375 kB / 411.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.2918, allocations: 139.7 kB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2918, allocations: 192 / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2918, allocations: 11.94 kB / 411.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2918, allocations: 0 / 411.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/0.2919, allocations: 19.98 kB / 411.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.292, allocations: 169.6 kB / 412.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.2922, allocations: 78.69 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.837e-05/0.2923, allocations: 40.84 kB / 412.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.2923, allocations: 4 kB / 412.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.2923, allocations: 38.56 kB / 412.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2923, allocations: 0 / 412.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002159/0.2925, allocations: 101.7 kB / 412.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.2926, allocations: 63.25 kB / 412.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.2927, allocations: 144.3 kB / 412.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.2928, allocations: 25.7 kB / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.2928, allocations: 88.14 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.2928, allocations: 8 kB / 412.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.2929, allocations: 29.61 kB / 412.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.293, allocations: 314.8 kB / 413 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.293, allocations: 15.98 kB / 413 MB, free: 14.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.841e-05/0.2931, allocations: 54.86 kB / 413.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.038e-05/0.2932, allocations: 78.75 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.2932, allocations: 0 / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001239/0.2933, allocations: 93.48 kB / 413.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2934, allocations: 7.938 kB / 413.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2934, allocations: 4 kB / 413.3 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2934, allocations: 3.938 kB / 413.3 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.2935, allocations: 12.44 kB / 413.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2935, allocations: 8 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.2935, allocations: 11.84 kB / 413.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.2935, allocations: 4 kB / 413.3 MB, free: 13.96 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001032/0.2936, allocations: 137.6 kB / 413.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-05/0.2937, allocations: 81.53 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.2938, allocations: 20.7 kB / 413.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2938, allocations: 0 / 413.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2938, allocations: 4 kB / 413.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2938, allocations: 4 kB / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.2939, allocations: 169.6 kB / 413.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.294, allocations: 0 / 413.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/0.294, allocations: 15.94 kB / 413.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.294, allocations: 7.922 kB / 413.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.2941, allocations: 0 / 413.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2941, allocations: 4 kB / 413.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2941, allocations: 0 / 413.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.2942, allocations: 117 kB / 413.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.2943, allocations: 93 kB / 413.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.2943, allocations: 7.938 kB / 413.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.2943, allocations: 4 kB / 413.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-06/0.2943, allocations: 3.984 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2944, allocations: 0 / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.046e-05/0.2944, allocations: 110.1 kB / 414.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2944, allocations: 0 / 414.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001967/0.2946, allocations: 4 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001164/0.2948, allocations: 115.2 kB / 414.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.2949, allocations: 43.92 kB / 414.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2949, allocations: 0 / 414.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-07/0.2949, allocations: 0 / 414.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2952, allocations: 52.3 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.2956, allocations: 207.8 kB / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.2959, allocations: 0.708 MB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.2959, allocations: 11.44 kB / 415.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2959, allocations: 0 / 415.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of Templates: time 0.002512/0.2985, allocations: 0.8811 MB / 416.1 MB, free: 11.02 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches