Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 229.5 MB / 247.7 MB, free: 6.312 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008219/0.0008222, allocations: 92.97 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 4 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2864, allocations: 51.42 MB / 412 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001055/0.2875, allocations: 0.5483 MB / 412.6 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002874/0.2878, allocations: 115.7 kB / 412.7 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.2879, allocations: 0 / 412.7 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.774e-05/0.288, allocations: 7.922 kB / 412.7 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.2881, allocations: 7.984 kB / 412.7 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.2883, allocations: 37.86 kB / 412.8 MB, free: 25.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.2884, allocations: 35.91 kB / 412.8 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2885, allocations: 29.42 kB / 412.8 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/0.2886, allocations: 23.8 kB / 412.9 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.2886, allocations: 12.75 kB / 412.9 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.2887, allocations: 0 / 412.9 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.2887, allocations: 4 kB / 412.9 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.2887, allocations: 15.45 kB / 412.9 MB, free: 25.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.2888, allocations: 45.52 kB / 412.9 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.223e-05/0.2889, allocations: 63.72 kB / 413 MB, free: 24.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2889, allocations: 0 / 413 MB, free: 24.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2889, allocations: 0 / 413 MB, free: 24.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.2889, allocations: 0 / 413 MB, free: 24.96 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.0003648/0.2893, allocations: 364.7 kB / 413.3 MB, free: 24.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2893, allocations: 8.031 kB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.2893, allocations: 14.97 kB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.2895, allocations: 188.2 kB / 413.6 MB, free: 24.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.2895, allocations: 4.375 kB / 413.6 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.2895, allocations: 8.375 kB / 413.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.2898, allocations: 147.6 kB / 413.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2898, allocations: 192 / 413.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2898, allocations: 7.922 kB / 413.7 MB, free: 24.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2898, allocations: 8 kB / 413.7 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.2899, allocations: 20 kB / 413.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.29, allocations: 173.6 kB / 413.9 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.2901, allocations: 78.69 kB / 414 MB, free: 23.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.2902, allocations: 40.84 kB / 414 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.2902, allocations: 4 kB / 414 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.2902, allocations: 34.56 kB / 414.1 MB, free: 23.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.2902, allocations: 0 / 414.1 MB, free: 23.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001686/0.2904, allocations: 101.5 kB / 414.2 MB, free: 23.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2905, allocations: 67.34 kB / 414.2 MB, free: 23.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.2906, allocations: 146.7 kB / 414.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.2906, allocations: 25.7 kB / 414.4 MB, free: 23.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.2906, allocations: 84.14 kB / 414.5 MB, free: 23.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.2906, allocations: 15.89 kB / 414.5 MB, free: 23.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.2906, allocations: 0 / 414.5 MB, free: 23.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.943e-05/0.2907, allocations: 314.8 kB / 414.8 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.2907, allocations: 11.98 kB / 414.8 MB, free: 22.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.2907, allocations: 62.81 kB / 414.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.2908, allocations: 78.73 kB / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2908, allocations: 0 / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.517e-05/0.2909, allocations: 85.72 kB / 415 MB, free: 22.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2909, allocations: 19.95 kB / 415.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2909, allocations: 0 / 415.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.291, allocations: 4 kB / 415.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.291, allocations: 12 kB / 415.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.291, allocations: 4 kB / 415.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.2911, allocations: 3.906 kB / 415.1 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2911, allocations: 4 kB / 415.1 MB, free: 22.6 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,unitDelay1.u,$CLKPRE.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.181e-05/0.2912, allocations: 141.6 kB / 415.2 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.2913, allocations: 85.67 kB / 415.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.2913, allocations: 16.7 kB / 415.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2913, allocations: 0 / 415.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2913, allocations: 3.938 kB / 415.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2913, allocations: 0 / 415.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.448e-05/0.2914, allocations: 173.7 kB / 415.5 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2914, allocations: 0 / 415.5 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.2915, allocations: 19.92 kB / 415.5 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2915, allocations: 3.938 kB / 415.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2915, allocations: 0 / 415.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2915, allocations: 0 / 415.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2915, allocations: 4 kB / 415.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.2916, allocations: 105 kB / 415.6 MB, free: 21.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.2916, allocations: 101 kB / 415.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.2917, allocations: 3.938 kB / 415.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.2917, allocations: 0 / 415.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-06/0.2917, allocations: 0 / 415.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.2917, allocations: 4 kB / 415.7 MB, free: 21.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.337e-05/0.2918, allocations: 111.2 kB / 415.8 MB, free: 21.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2918, allocations: 0 / 415.8 MB, free: 21.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.2919, allocations: 12 kB / 415.9 MB, free: 21.72 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.017e-05/0.292, allocations: 107.2 kB / 416 MB, free: 21.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.727e-05/0.2921, allocations: 47.91 kB / 416 MB, free: 21.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2922, allocations: 4.5 kB / 416 MB, free: 21.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.2922, allocations: 0 / 416 MB, free: 21.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.2924, allocations: 51.95 kB / 416.1 MB, free: 21.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.2927, allocations: 203 kB / 416.3 MB, free: 21.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.2928, allocations: 0.6926 MB / 417 MB, free: 20.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.792e-05/0.2929, allocations: 12.84 kB / 417 MB, free: 20.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.2929, allocations: 11.44 kB / 417 MB, free: 20.54 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2929, allocations: 3.938 kB / 417 MB, free: 20.53 MB / 298.7 MB Notification: Performance of Templates: time 0.002406/0.2953, allocations: 0.6443 MB / 417.6 MB, free: 19.89 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/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