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.001167/0.001168, allocations: 111.1 kB / 17.74 MB, free: 5.312 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.001268/0.001268, allocations: 188.2 kB / 18.67 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 47.94 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3266, allocations: 49.44 MB / 401.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002572/0.3292, allocations: 0.9615 MB / 402.4 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003577/0.3296, allocations: 115.6 kB / 402.5 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.264e-05/0.3297, allocations: 0 / 402.5 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.915e-05/0.3298, allocations: 7.875 kB / 402.5 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.3299, allocations: 7.938 kB / 402.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.3301, allocations: 27.91 kB / 402.5 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.3302, allocations: 51.83 kB / 402.6 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3304, allocations: 28.17 kB / 402.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.3304, allocations: 15.92 kB / 402.6 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.3305, allocations: 19.86 kB / 402.6 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3305, allocations: 4 kB / 402.6 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.3305, allocations: 4 kB / 402.6 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.3306, allocations: 15.92 kB / 402.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.3306, allocations: 23.81 kB / 402.7 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.3308, allocations: 59.73 kB / 402.7 MB, free: 7.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3308, allocations: 0 / 402.7 MB, free: 7.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3308, allocations: 4 kB / 402.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.3308, allocations: 7.938 kB / 402.8 MB, free: 7.68 MB / 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.0005501/0.3314, allocations: 372.4 kB / 403.1 MB, free: 7.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3314, allocations: 8.031 kB / 403.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.3314, allocations: 8.844 kB / 403.1 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.3317, allocations: 196.1 kB / 403.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.3318, allocations: 8.375 kB / 403.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3318, allocations: 4.375 kB / 403.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.3321, allocations: 135.7 kB / 403.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3321, allocations: 3.938 kB / 403.5 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3321, allocations: 0 / 403.5 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3321, allocations: 0 / 403.5 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.3322, allocations: 19.98 kB / 403.5 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.3324, allocations: 169.7 kB / 403.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.3325, allocations: 70.66 kB / 403.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.3326, allocations: 32.89 kB / 403.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.3326, allocations: 4 kB / 403.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3326, allocations: 30.56 kB / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.3326, allocations: 0 / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002178/0.3329, allocations: 97.5 kB / 403.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.3329, allocations: 59.41 kB / 404 MB, free: 6.301 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3331, allocations: 133.8 kB / 404.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3331, allocations: 29.64 kB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.3332, allocations: 84.14 kB / 404.2 MB, free: 6.039 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.3332, allocations: 7.984 kB / 404.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.3332, allocations: 25.62 kB / 404.2 MB, free: 6 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3334, allocations: 318.8 kB / 404.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.3334, allocations: 11.98 kB / 404.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.3335, allocations: 55.02 kB / 404.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.3336, allocations: 78.73 kB / 404.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3336, allocations: 0 / 404.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001275/0.3337, allocations: 93.47 kB / 404.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3338, allocations: 11.94 kB / 404.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3338, allocations: 0 / 404.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3338, allocations: 4 kB / 404.8 MB, free: 5.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.929e-05/0.3339, allocations: 15.98 kB / 404.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3339, allocations: 4 kB / 404.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.3339, allocations: 4.125 kB / 404.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.3339, allocations: 8 kB / 404.8 MB, free: 5.344 MB / 318.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.0001141/0.3341, allocations: 133.9 kB / 404.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.133e-05/0.3342, allocations: 69.55 kB / 405 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.3342, allocations: 20.64 kB / 405 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3342, allocations: 0 / 405 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3342, allocations: 4 kB / 405 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3342, allocations: 0 / 405 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.3344, allocations: 169.7 kB / 405.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3344, allocations: 0 / 405.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.3344, allocations: 19.92 kB / 405.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3345, allocations: 3.938 kB / 405.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3345, allocations: 4 kB / 405.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3345, allocations: 4 kB / 405.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3345, allocations: 0 / 405.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.3346, allocations: 93.03 kB / 405.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.3347, allocations: 104.9 kB / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.3347, allocations: 0 / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.3347, allocations: 4 kB / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-06/0.3348, allocations: 3.984 kB / 405.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.3348, allocations: 7.984 kB / 405.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.189e-05/0.3349, allocations: 106.2 kB / 405.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3349, allocations: 4 kB / 405.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002039/0.3351, allocations: 4 kB / 405.6 MB, free: 4.5 MB / 318.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.0001203/0.3352, allocations: 103.9 kB / 405.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.3353, allocations: 47.91 kB / 405.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3353, allocations: 0.5 kB / 405.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.3354, allocations: 4 kB / 405.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3357, allocations: 40.02 kB / 405.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.3361, allocations: 199.1 kB / 405.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3364, allocations: 0.7002 MB / 406.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.3364, allocations: 7.438 kB / 406.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3364, allocations: 4 kB / 406.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of Templates: time 0.002478/0.3389, allocations: 0.8064 MB / 407.5 MB, free: 2.531 MB / 318.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