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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 81.66 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 148.7 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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=5010,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=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.802e-05, allocations: 7.594 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002248/0.002276, allocations: 0.947 MB / 319.9 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.002616, allocations: 125.7 kB / 320 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.002695, allocations: 1.594 kB / 320 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.601e-05/0.002741, allocations: 5.25 kB / 320 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.002865, allocations: 8.375 kB / 320 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.003084, allocations: 32.98 kB / 320.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.003195, allocations: 40.97 kB / 320.1 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003297, allocations: 29.61 kB / 320.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.00335, allocations: 22.02 kB / 320.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.003391, allocations: 14.45 kB / 320.2 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.00342, allocations: 7.406 kB / 320.2 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.003432, allocations: 4.281 kB / 320.2 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.003478, allocations: 14.61 kB / 320.2 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.003512, allocations: 14.03 kB / 320.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.003631, allocations: 54.44 kB / 320.3 MB, free: 2.762 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003634, allocations: 0.6094 kB / 320.3 MB, free: 2.762 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003635, allocations: 3.938 kB / 320.3 MB, free: 2.758 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.00364, allocations: 5.438 kB / 320.3 MB, free: 2.754 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.0003619/0.004002, allocations: 299.8 kB / 320.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.004038, allocations: 9.953 kB / 320.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.004072, allocations: 13.36 kB / 320.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.004277, allocations: 136.1 kB / 320.7 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-06/0.004285, allocations: 1.969 kB / 320.7 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.004302, allocations: 8.094 kB / 320.7 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.004569, allocations: 127.9 kB / 320.8 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.004582, allocations: 4.125 kB / 320.8 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.004591, allocations: 4.375 kB / 320.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.004597, allocations: 5.562 kB / 320.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.345e-05/0.00464, allocations: 16.38 kB / 320.9 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.004745, allocations: 117.9 kB / 321 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.004869, allocations: 60.78 kB / 321 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.805e-05/0.004927, allocations: 38.34 kB / 321.1 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.004934, allocations: 1.406 kB / 321.1 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.004949, allocations: 33.2 kB / 321.1 MB, free: 1.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.00495, allocations: 0 / 321.1 MB, free: 1.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002054/0.005155, allocations: 92.05 kB / 321.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.005196, allocations: 59.44 kB / 321.3 MB, free: 1.855 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.005302, allocations: 143.4 kB / 321.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.005311, allocations: 29.7 kB / 321.4 MB, free: 1.703 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.005353, allocations: 86.98 kB / 321.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.005368, allocations: 3.953 kB / 321.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.005396, allocations: 14.19 kB / 321.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.005442, allocations: 317.8 kB / 321.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.005455, allocations: 2.406 kB / 321.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-06/0.005463, allocations: 3.109 kB / 321.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.005486, allocations: 12.36 kB / 321.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005488, allocations: 4.062 kB / 321.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.525e-05/0.005543, allocations: 44 kB / 321.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.005557, allocations: 7.281 kB / 321.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.005561, allocations: 0 / 321.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.00558, allocations: 0 / 321.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.777e-05/0.005628, allocations: 4.234 kB / 321.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.005633, allocations: 3.938 kB / 321.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.00565, allocations: 1.281 kB / 321.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.005656, allocations: 0 / 321.9 MB, free: 1.223 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.367e-05/0.00573, allocations: 121.2 kB / 322 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-05/0.005819, allocations: 70.16 kB / 322.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.005858, allocations: 16.47 kB / 322.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.00586, allocations: 5.125 kB / 322.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.005867, allocations: 5.547 kB / 322.1 MB, free: 1.031 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.005871, allocations: 4.594 kB / 322.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.965e-05/0.005941, allocations: 114.5 kB / 322.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.005943, allocations: 0.75 kB / 322.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.006004, allocations: 17.95 kB / 322.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.006006, allocations: 0 / 322.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.006015, allocations: 5.297 kB / 322.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.006017, allocations: 4 kB / 322.3 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006018, allocations: 0 / 322.3 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.006132, allocations: 108.1 kB / 322.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.006171, allocations: 17.25 kB / 322.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.006188, allocations: 2.031 kB / 322.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.006207, allocations: 4 kB / 322.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-06/0.006217, allocations: 0 / 322.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.006222, allocations: 2.188 kB / 322.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.09e-05/0.006283, allocations: 112.8 kB / 322.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006283, allocations: 0 / 322.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001882/0.006471, allocations: 13.88 kB / 322.5 MB, free: 0.6914 MB / 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 8.639e-05/0.006557, allocations: 98.69 kB / 322.6 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.084e-05/0.006648, allocations: 19.19 kB / 322.7 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.00665, allocations: 0 / 322.7 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.006651, allocations: 0 / 322.7 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.006933, allocations: 43.8 kB / 322.7 MB, free: 0.582 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.007195, allocations: 164.7 kB / 322.9 MB, free: 452 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.772e-05/0.007253, allocations: 82.38 kB / 322.9 MB, free: 376 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.652e-05/0.007269, allocations: 8.938 kB / 322.9 MB, free: 372 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.007292, allocations: 10.88 kB / 323 MB, free: 364 kB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.007292, allocations: 0 / 323 MB, free: 364 kB / 286.1 MB Notification: Performance of Templates: time 0.003302/0.01059, allocations: 0.6205 MB / 323.6 MB, free: 248 kB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.26415317133069]