Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001977/0.001977, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.767/2.767, allocations: 222.9 MB / 241.8 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 49.83 kB / 300.6 MB, free: 6.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2008, allocations: 49.45 MB / 350.1 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.005428/0.2063, allocations: 1.008 MB / 351.1 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006723/0.207, allocations: 119.6 kB / 351.2 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.2072, allocations: 0 / 351.2 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.2075, allocations: 7.922 kB / 351.2 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.2077, allocations: 7.938 kB / 351.2 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.2083, allocations: 31.97 kB / 351.2 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.2085, allocations: 39.86 kB / 351.3 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.2087, allocations: 24.16 kB / 351.3 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.2088, allocations: 11.94 kB / 351.3 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.695e-05/0.2089, allocations: 23.8 kB / 351.3 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.209, allocations: 4 kB / 351.3 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.209, allocations: 0 / 351.3 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.2091, allocations: 15.92 kB / 351.4 MB, free: 3.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.095e-05/0.2092, allocations: 23.81 kB / 351.4 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.2094, allocations: 43.92 kB / 351.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.2094, allocations: 0 / 351.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2095, allocations: 0 / 351.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.2095, allocations: 0 / 351.4 MB, free: 3.438 MB / 286.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.0009806/0.2105, allocations: 379.5 kB / 351.8 MB, free: 3.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.742e-05/0.2106, allocations: 8.031 kB / 351.8 MB, free: 3.012 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.015e-05/0.2107, allocations: 8.844 kB / 351.8 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.2111, allocations: 192.2 kB / 352 MB, free: 2.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.2111, allocations: 4.312 kB / 352 MB, free: 2.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.2112, allocations: 16.25 kB / 352 MB, free: 2.758 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.2118, allocations: 123.8 kB / 352.1 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.2118, allocations: 3.938 kB / 352.1 MB, free: 2.621 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.2119, allocations: 4 kB / 352.1 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2119, allocations: 4 kB / 352.1 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.212, allocations: 15.98 kB / 352.2 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.2123, allocations: 173.6 kB / 352.3 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.2126, allocations: 66.66 kB / 352.4 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.2128, allocations: 41.03 kB / 352.4 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.2128, allocations: 0 / 352.4 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.2129, allocations: 34.56 kB / 352.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.2129, allocations: 4 kB / 352.5 MB, free: 2.215 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004127/0.2133, allocations: 93.47 kB / 352.6 MB, free: 2.117 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.2135, allocations: 59.3 kB / 352.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.2137, allocations: 140.7 kB / 352.8 MB, free: 1.902 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.2138, allocations: 25.7 kB / 352.8 MB, free: 1.871 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2139, allocations: 88.14 kB / 352.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.2139, allocations: 4 kB / 352.9 MB, free: 1.777 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.214, allocations: 25.7 kB / 352.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.2143, allocations: 318.8 kB / 353.2 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/0.2144, allocations: 11.92 kB / 353.2 MB, free: 1.414 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.2145, allocations: 62.81 kB / 353.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.2147, allocations: 70.8 kB / 353.4 MB, free: 1.234 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.2147, allocations: 4 kB / 353.4 MB, free: 1.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002915/0.215, allocations: 93.41 kB / 353.4 MB, free: 1.133 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.215, allocations: 7.938 kB / 353.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.2151, allocations: 4 kB / 353.5 MB, free: 1.121 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/0.2151, allocations: 3.984 kB / 353.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.2153, allocations: 19.98 kB / 353.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.2153, allocations: 7.938 kB / 353.5 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.2154, allocations: 4 kB / 353.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.2154, allocations: 4.25 kB / 353.5 MB, free: 1.082 MB / 286.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: 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 0.0001899/0.2156, allocations: 117.8 kB / 353.6 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.2159, allocations: 81.47 kB / 353.7 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.888e-05/0.2159, allocations: 8.719 kB / 353.7 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.216, allocations: 7.984 kB / 353.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.216, allocations: 192 / 353.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.216, allocations: 0 / 353.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.2163, allocations: 181.4 kB / 353.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2163, allocations: 0 / 353.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.2164, allocations: 15.98 kB / 353.9 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.2165, allocations: 7.938 kB / 353.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.2165, allocations: 0 / 353.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.247e-05/0.2165, allocations: 4 kB / 353.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2165, allocations: 0 / 353.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.2168, allocations: 101.4 kB / 354 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.217, allocations: 92.94 kB / 354.1 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.217, allocations: 7.938 kB / 354.1 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.2171, allocations: 0 / 354.1 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.2171, allocations: 8 kB / 354.1 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.2171, allocations: 0 / 354.1 MB, free: 364 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.2173, allocations: 110.4 kB / 354.2 MB, free: 256 kB / 286.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2173, allocations: 0 / 354.2 MB, free: 256 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004262/0.2177, allocations: 8 kB / 354.2 MB, free: 248 kB / 286.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: 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.000236/0.218, allocations: 103.2 kB / 354.3 MB, free: 136 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.2182, allocations: 40.44 kB / 354.4 MB, free: 96 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2182, allocations: 8 kB / 354.4 MB, free: 88 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.2182, allocations: 0 / 354.4 MB, free: 88 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.2189, allocations: 47.94 kB / 354.4 MB, free: 40 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.2197, allocations: 213.4 kB / 354.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.2204, allocations: 0.7004 MB / 355.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.2205, allocations: 11.44 kB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2205, allocations: 0 / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of Templates: time 0.004902/0.2254, allocations: 0.7896 MB / 356.1 MB, free: 14.26 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches