Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, 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.512/1.512, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008985/0.0008986, allocations: 97.02 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.0002521, allocations: 4 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3293, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001537/0.3309, allocations: 0.6527 MB / 412.7 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003577/0.3312, allocations: 111.7 kB / 412.8 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.3313, allocations: 4 kB / 412.8 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.416e-05/0.3314, allocations: 3.938 kB / 412.8 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.3316, allocations: 7.984 kB / 412.8 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.3319, allocations: 27.92 kB / 412.9 MB, free: 25.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.332, allocations: 43.84 kB / 412.9 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3322, allocations: 24.28 kB / 412.9 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.3322, allocations: 11.94 kB / 412.9 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.3323, allocations: 15.86 kB / 413 MB, free: 25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.3323, allocations: 0 / 413 MB, free: 25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.3323, allocations: 4 kB / 413 MB, free: 25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.3324, allocations: 11.94 kB / 413 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.3325, allocations: 49.5 kB / 413 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.3326, allocations: 47.8 kB / 413.1 MB, free: 24.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3326, allocations: 4.688 kB / 413.1 MB, free: 24.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3326, allocations: 0 / 413.1 MB, free: 24.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.3326, allocations: 0 / 413.1 MB, free: 24.88 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.0004085/0.333, allocations: 357.8 kB / 413.4 MB, free: 24.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3331, allocations: 12.03 kB / 413.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.3331, allocations: 20.69 kB / 413.5 MB, free: 24.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.3333, allocations: 192.2 kB / 413.6 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3334, allocations: 4.375 kB / 413.6 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.3334, allocations: 8.312 kB / 413.7 MB, free: 24.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.3337, allocations: 123.8 kB / 413.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3337, allocations: 11.88 kB / 413.8 MB, free: 24.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3338, allocations: 0 / 413.8 MB, free: 24.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3338, allocations: 8 kB / 413.8 MB, free: 24.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.707e-05/0.3339, allocations: 15.98 kB / 413.8 MB, free: 24.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.334, allocations: 173.6 kB / 414 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.3342, allocations: 58.72 kB / 414 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.272e-05/0.3343, allocations: 44.83 kB / 414.1 MB, free: 23.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.3343, allocations: 4 kB / 414.1 MB, free: 23.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.3343, allocations: 30.56 kB / 414.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.3344, allocations: 0 / 414.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002235/0.3346, allocations: 93.73 kB / 414.2 MB, free: 23.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3346, allocations: 59.41 kB / 414.3 MB, free: 23.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3348, allocations: 133.7 kB / 414.4 MB, free: 23.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3348, allocations: 29.7 kB / 414.4 MB, free: 23.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.3348, allocations: 88.14 kB / 414.5 MB, free: 23.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.3349, allocations: 3.984 kB / 414.5 MB, free: 23.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.3349, allocations: 8 kB / 414.5 MB, free: 23.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.335, allocations: 314.8 kB / 414.8 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.335, allocations: 8 kB / 414.8 MB, free: 22.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.3351, allocations: 58.86 kB / 414.9 MB, free: 22.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.3352, allocations: 74.75 kB / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3352, allocations: 0 / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001638/0.3353, allocations: 89.45 kB / 415.1 MB, free: 22.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3354, allocations: 11.94 kB / 415.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3354, allocations: 3.938 kB / 415.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3354, allocations: 4.25 kB / 415.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3355, allocations: 19.98 kB / 415.1 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3356, allocations: 4 kB / 415.1 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.3356, allocations: 3.938 kB / 415.1 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3356, allocations: 4 kB / 415.1 MB, free: 22.58 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: 0 () * 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 8.382e-05/0.3357, allocations: 130.4 kB / 415.2 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.3359, allocations: 77.67 kB / 415.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.3359, allocations: 12.72 kB / 415.3 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3359, allocations: 0 / 415.3 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3359, allocations: 4.125 kB / 415.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.3359, allocations: 7.984 kB / 415.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.09e-05/0.336, allocations: 177.5 kB / 415.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3361, allocations: 0 / 415.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.049e-05/0.3361, allocations: 11.98 kB / 415.5 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3362, allocations: 7.938 kB / 415.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3362, allocations: 0 / 415.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3362, allocations: 0 / 415.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3362, allocations: 3.938 kB / 415.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.3363, allocations: 105 kB / 415.6 MB, free: 21.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.3364, allocations: 100.9 kB / 415.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3364, allocations: 0 / 415.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.949e-05/0.3365, allocations: 4 kB / 415.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-06/0.3365, allocations: 0 / 415.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.3365, allocations: 4 kB / 415.7 MB, free: 21.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.492e-05/0.3366, allocations: 103.2 kB / 415.8 MB, free: 21.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3366, allocations: 0 / 415.8 MB, free: 21.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003469/0.337, allocations: 12 kB / 415.9 MB, free: 21.73 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: 0 () * 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.0001176/0.3371, allocations: 103.2 kB / 416 MB, free: 21.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.3372, allocations: 43.86 kB / 416 MB, free: 21.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3373, allocations: 0 / 416 MB, free: 21.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-07/0.3373, allocations: 0 / 416 MB, free: 21.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.3377, allocations: 48.86 kB / 416 MB, free: 21.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.3381, allocations: 187.9 kB / 416.2 MB, free: 21.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.3383, allocations: 0.6965 MB / 416.9 MB, free: 20.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.324e-05/0.3383, allocations: 7.922 kB / 416.9 MB, free: 20.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.3384, allocations: 11.44 kB / 416.9 MB, free: 20.57 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3384, allocations: 0 / 416.9 MB, free: 20.57 MB / 298.7 MB Notification: Performance of Templates: time 0.003482/0.3419, allocations: 0.5712 MB / 417.5 MB, free: 20.01 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches