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.001111/0.001111, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 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.00106/0.00106, allocations: 140 kB / 25.59 MB, free: 8.906 MB / 18.57 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 0.9584/0.9584, allocations: 173.4 MB / 202.2 MB, free: 8.27 MB / 186.7 MB " [Timeout remaining time 179] 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 2.315e-06/2.315e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.414e-05, allocations: 5.406 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00194/0.001974, allocations: 0.9742 MB / 270.2 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003143/0.002289, allocations: 119.5 kB / 270.3 MB, free: 8.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.002364, allocations: 3.938 kB / 270.3 MB, free: 8.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.002405, allocations: 3.938 kB / 270.3 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.00253, allocations: 15.86 kB / 270.3 MB, free: 8.684 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.002768, allocations: 37.23 kB / 270.4 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.44e-05/0.002852, allocations: 39.86 kB / 270.4 MB, free: 8.609 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.002939, allocations: 24.11 kB / 270.4 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.002982, allocations: 28.66 kB / 270.5 MB, free: 8.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.356e-05/0.003016, allocations: 7.984 kB / 270.5 MB, free: 8.547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.003034, allocations: 4.594 kB / 270.5 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.003043, allocations: 4 kB / 270.5 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.003082, allocations: 17.89 kB / 270.5 MB, free: 8.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.003104, allocations: 15.92 kB / 270.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.775e-05/0.003192, allocations: 39.83 kB / 270.5 MB, free: 8.469 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003194, allocations: 0 / 270.5 MB, free: 8.469 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003194, allocations: 0 / 270.5 MB, free: 8.469 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.003198, allocations: 0.7188 kB / 270.5 MB, free: 8.469 MB / 250.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.0002879/0.003486, allocations: 400.3 kB / 270.9 MB, free: 8.043 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.003516, allocations: 13.47 kB / 270.9 MB, free: 8.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.003547, allocations: 12.89 kB / 271 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.003667, allocations: 145.4 kB / 271.1 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.003675, allocations: 8.375 kB / 271.1 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.003681, allocations: 384 / 271.1 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.00381, allocations: 117.4 kB / 271.2 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.159e-06/0.003815, allocations: 192 / 271.2 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-06/0.003821, allocations: 384 / 271.2 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.003826, allocations: 8.125 kB / 271.2 MB, free: 7.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.378e-05/0.003839, allocations: 7.984 kB / 271.2 MB, free: 7.699 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.511e-05/0.003915, allocations: 101.2 kB / 271.3 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.466e-05/0.003999, allocations: 55.14 kB / 271.4 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.004027, allocations: 39.84 kB / 271.4 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.004034, allocations: 4 kB / 271.4 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.004051, allocations: 37.38 kB / 271.5 MB, free: 7.414 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.004052, allocations: 0 / 271.5 MB, free: 7.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001097/0.004161, allocations: 65.64 kB / 271.5 MB, free: 7.344 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.0042, allocations: 71.23 kB / 271.6 MB, free: 7.262 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.00428, allocations: 192.2 kB / 271.8 MB, free: 7.059 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.004288, allocations: 25.7 kB / 271.8 MB, free: 7.027 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.004324, allocations: 130.9 kB / 271.9 MB, free: 6.895 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.446e-06/0.004333, allocations: 0 / 271.9 MB, free: 6.895 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.004357, allocations: 27.38 kB / 272 MB, free: 6.859 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.004466, allocations: 0.4961 MB / 272.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.004475, allocations: 0 / 272.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.004481, allocations: 0 / 272.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.004502, allocations: 11.69 kB / 272.5 MB, free: 6.336 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004504, allocations: 0 / 272.5 MB, free: 6.336 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.914e-05/0.004543, allocations: 41.59 kB / 272.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.004557, allocations: 11.98 kB / 272.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.00456, allocations: 0 / 272.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.004567, allocations: 96 / 272.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-05/0.004599, allocations: 8 kB / 272.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004601, allocations: 0 / 272.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.004613, allocations: 7.938 kB / 272.5 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.004616, allocations: 0 / 272.5 MB, free: 6.262 MB / 250.7 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 6.145e-05/0.004678, allocations: 152.6 kB / 272.7 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.004723, allocations: 61.95 kB / 272.8 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.004753, allocations: 12.78 kB / 272.8 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.004755, allocations: 0 / 272.8 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.004757, allocations: 0 / 272.8 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.00476, allocations: 0 / 272.8 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.795e-05/0.004818, allocations: 121.1 kB / 272.9 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.004819, allocations: 0 / 272.9 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/0.004854, allocations: 19.92 kB / 272.9 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004855, allocations: 0 / 272.9 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.00486, allocations: 4 kB / 272.9 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.00486, allocations: 0 / 272.9 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004861, allocations: 80 / 272.9 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.148e-05/0.004903, allocations: 76.33 kB / 273 MB, free: 5.754 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.004928, allocations: 15.94 kB / 273 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.004941, allocations: 4 kB / 273 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.00495, allocations: 4 kB / 273 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-06/0.004952, allocations: 7.938 kB / 273 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.004955, allocations: 0 / 273 MB, free: 5.723 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.72e-05/0.004992, allocations: 141.8 kB / 273.2 MB, free: 5.586 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004992, allocations: 0 / 273.2 MB, free: 5.586 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000111/0.005103, allocations: 8 kB / 273.2 MB, free: 5.578 MB / 250.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 6.125e-05/0.005164, allocations: 103.2 kB / 273.3 MB, free: 5.469 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.044e-05/0.005215, allocations: 19.69 kB / 273.3 MB, free: 5.445 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005216, allocations: 0 / 273.3 MB, free: 5.445 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.005216, allocations: 0 / 273.3 MB, free: 5.445 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.005397, allocations: 42.48 kB / 273.3 MB, free: 5.402 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001733/0.00557, allocations: 163.3 kB / 273.5 MB, free: 5.215 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.793e-05/0.005598, allocations: 63.34 kB / 273.5 MB, free: 5.133 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.189e-05/0.00561, allocations: 3.984 kB / 273.5 MB, free: 5.129 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.005655, allocations: 74.2 kB / 273.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005656, allocations: 0 / 273.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of Templates: time 0.001841/0.007497, allocations: 0.6681 MB / 274.3 MB, free: 4.402 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.670003606006503]