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/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.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/Complex trunk/package.mo): time 0.00166/0.00166, 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.626/1.626, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 100.5 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009417/0.0009419, allocations: 55.91 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2871, allocations: 50.45 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002051/0.2892, allocations: 0.9006 MB / 407.9 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002905/0.2895, allocations: 119.7 kB / 408.1 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.696e-05/0.2896, allocations: 3.938 kB / 408.1 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.2897, allocations: 0 / 408.1 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.2898, allocations: 7.938 kB / 408.1 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.29, allocations: 43.84 kB / 408.1 MB, free: 26.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.619e-05/0.2901, allocations: 35.92 kB / 408.2 MB, free: 26.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2903, allocations: 26.97 kB / 408.2 MB, free: 26.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.2903, allocations: 19.88 kB / 408.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.2904, allocations: 19.91 kB / 408.2 MB, free: 26.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2904, allocations: 4 kB / 408.2 MB, free: 26.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.2904, allocations: 4 kB / 408.2 MB, free: 26.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.2905, allocations: 15.92 kB / 408.2 MB, free: 26.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.2905, allocations: 31.75 kB / 408.3 MB, free: 26.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.386e-05/0.2906, allocations: 55.8 kB / 408.3 MB, free: 26.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2906, allocations: 0 / 408.3 MB, free: 26.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.2906, allocations: 0 / 408.3 MB, free: 26.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.2906, allocations: 0 / 408.3 MB, free: 26.53 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003939/0.291, allocations: 376.7 kB / 408.7 MB, free: 26.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2911, allocations: 8.594 kB / 408.7 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.2911, allocations: 16.75 kB / 408.7 MB, free: 26.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.2912, allocations: 195 kB / 408.9 MB, free: 25.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2913, allocations: 12.38 kB / 408.9 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.2913, allocations: 384 / 408.9 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.2915, allocations: 139.9 kB / 409.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2915, allocations: 192 / 409.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2916, allocations: 11.81 kB / 409.1 MB, free: 25.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2916, allocations: 7.938 kB / 409.1 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.2916, allocations: 23.98 kB / 409.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.2917, allocations: 173.6 kB / 409.3 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.2919, allocations: 70.7 kB / 409.3 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.2919, allocations: 56.8 kB / 409.4 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.292, allocations: 0 / 409.4 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.292, allocations: 34.56 kB / 409.4 MB, free: 25.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 7.82e-07/0.292, allocations: 0 / 409.4 MB, free: 25.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001864/0.2922, allocations: 105.7 kB / 409.5 MB, free: 25.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2922, allocations: 55.41 kB / 409.6 MB, free: 25.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.2923, allocations: 137.8 kB / 409.7 MB, free: 24.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.2923, allocations: 25.7 kB / 409.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.2923, allocations: 92.12 kB / 409.8 MB, free: 24.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.2924, allocations: 0 / 409.8 MB, free: 24.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.2924, allocations: 33.61 kB / 409.9 MB, free: 24.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.2925, allocations: 322.8 kB / 410.2 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.2925, allocations: 11.98 kB / 410.2 MB, free: 24.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.2925, allocations: 54.88 kB / 410.3 MB, free: 24.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.2926, allocations: 74.73 kB / 410.3 MB, free: 24.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2926, allocations: 4 kB / 410.3 MB, free: 24.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.598e-05/0.2927, allocations: 89.47 kB / 410.4 MB, free: 24.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2927, allocations: 11.94 kB / 410.4 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2927, allocations: 3.938 kB / 410.4 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2927, allocations: 7.984 kB / 410.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.2928, allocations: 12 kB / 410.5 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2929, allocations: 4 kB / 410.5 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.2929, allocations: 4 kB / 410.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2929, allocations: 8.25 kB / 410.5 MB, free: 24.12 MB / 298.7 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 7.841e-05/0.293, allocations: 139.2 kB / 410.6 MB, free: 23.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.2931, allocations: 85.47 kB / 410.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.2931, allocations: 16.7 kB / 410.7 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2931, allocations: 0 / 410.7 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2931, allocations: 0 / 410.7 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2931, allocations: 0 / 410.7 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.287e-05/0.2932, allocations: 169.7 kB / 410.9 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2932, allocations: 0 / 410.9 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.2933, allocations: 20.17 kB / 410.9 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2933, allocations: 3.938 kB / 410.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2933, allocations: 7.938 kB / 410.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2933, allocations: 0 / 410.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2933, allocations: 3.938 kB / 410.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.2936, allocations: 0.6905 MB / 411.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.2937, allocations: 101 kB / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.2937, allocations: 0 / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.2937, allocations: 0 / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-06/0.2937, allocations: 0 / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.2937, allocations: 4 kB / 411.7 MB, free: 22.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.633e-05/0.2938, allocations: 110.1 kB / 411.8 MB, free: 22.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2938, allocations: 0 / 411.8 MB, free: 22.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.2941, allocations: 12 kB / 411.8 MB, free: 22.62 MB / 298.7 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 9.469e-05/0.2942, allocations: 99.25 kB / 411.9 MB, free: 22.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.2943, allocations: 48 kB / 412 MB, free: 22.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.2943, allocations: 0 / 412 MB, free: 22.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.2943, allocations: 0 / 412 MB, free: 22.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.2946, allocations: 63.86 kB / 412 MB, free: 22.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.295, allocations: 314.5 kB / 412.3 MB, free: 22.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.2951, allocations: 0.7004 MB / 413 MB, free: 21.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.25e-05/0.2951, allocations: 8.656 kB / 413 MB, free: 21.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.2952, allocations: 11.44 kB / 413.1 MB, free: 21.31 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2952, allocations: 0 / 413.1 MB, free: 21.31 MB / 298.7 MB Notification: Performance of Templates: time 0.002748/0.2979, allocations: 0.6784 MB / 413.7 MB, free: 20.64 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches