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.001394/0.001394, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0009359/0.0009359, allocations: 148.9 kB / 24.81 MB, free: 9.27 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 1.097/1.097, allocations: 173.3 MB / 201.4 MB, free: 9.227 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 1.914e-06/1.914e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.564e-05, allocations: 2.312 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00245/0.002475, allocations: 0.9723 MB / 269.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.004036, allocations: 127.5 kB / 269.5 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.004133, allocations: 0 / 269.5 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.166e-05/0.004184, allocations: 7.922 kB / 269.5 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.004325, allocations: 11.88 kB / 269.5 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.004545, allocations: 35.89 kB / 269.6 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.036e-05/0.004636, allocations: 39.86 kB / 269.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.004735, allocations: 20.11 kB / 269.6 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.243e-05/0.004787, allocations: 23.97 kB / 269.7 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.864e-05/0.004826, allocations: 11.92 kB / 269.7 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.004845, allocations: 4 kB / 269.7 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.004854, allocations: 4 kB / 269.7 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.004902, allocations: 19.92 kB / 269.7 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.004927, allocations: 15.92 kB / 269.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.005035, allocations: 43.77 kB / 269.8 MB, free: 4.859 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.005039, allocations: 0 / 269.8 MB, free: 4.859 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00504, allocations: 0 / 269.8 MB, free: 4.859 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.005044, allocations: 0 / 269.8 MB, free: 4.859 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.0003665/0.005411, allocations: 396.3 kB / 270.1 MB, free: 4.438 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.005458, allocations: 12.92 kB / 270.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.005493, allocations: 12.89 kB / 270.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.005667, allocations: 152.3 kB / 270.3 MB, free: 4.238 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.005678, allocations: 8.375 kB / 270.3 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.005685, allocations: 384 / 270.3 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.005882, allocations: 113.4 kB / 270.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.005891, allocations: 192 / 270.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.005899, allocations: 384 / 270.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.005909, allocations: 8.125 kB / 270.4 MB, free: 4.098 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.005926, allocations: 11.98 kB / 270.5 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.006032, allocations: 105.2 kB / 270.6 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.006135, allocations: 55.14 kB / 270.6 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.006165, allocations: 31.86 kB / 270.6 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.006177, allocations: 4 kB / 270.6 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.006209, allocations: 33.39 kB / 270.7 MB, free: 3.809 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.00621, allocations: 0 / 270.7 MB, free: 3.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001374/0.006348, allocations: 73.53 kB / 270.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.006403, allocations: 59.41 kB / 270.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/0.00649, allocations: 192.7 kB / 271 MB, free: 3.457 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.006498, allocations: 33.64 kB / 271 MB, free: 3.418 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.006539, allocations: 130.9 kB / 271.2 MB, free: 3.285 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.006553, allocations: 7.984 kB / 271.2 MB, free: 3.277 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.006576, allocations: 19.38 kB / 271.2 MB, free: 3.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.006709, allocations: 0.4922 MB / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.006716, allocations: 0 / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-06/0.006722, allocations: 0 / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.98e-05/0.006742, allocations: 11.69 kB / 271.7 MB, free: 2.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.006743, allocations: 0 / 271.7 MB, free: 2.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.592e-05/0.006789, allocations: 53.64 kB / 271.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.006801, allocations: 8 kB / 271.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006805, allocations: 0 / 271.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.006817, allocations: 0 / 271.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.363e-05/0.006851, allocations: 4 kB / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.006853, allocations: 0 / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-06/0.006863, allocations: 3.938 kB / 271.8 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-06/0.006867, allocations: 0 / 271.8 MB, free: 2.656 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.071e-05/0.006928, allocations: 156.6 kB / 271.9 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.006968, allocations: 57.64 kB / 272 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.007, allocations: 16.81 kB / 272 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.007002, allocations: 3.984 kB / 272 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.007004, allocations: 4 kB / 272 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007008, allocations: 0 / 272 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.947e-05/0.007087, allocations: 117.1 kB / 272.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007088, allocations: 3.938 kB / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.007124, allocations: 12 kB / 272.1 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.007125, allocations: 0 / 272.1 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.007129, allocations: 0 / 272.1 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.00713, allocations: 0 / 272.1 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007131, allocations: 0 / 272.1 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.577e-05/0.007177, allocations: 84.33 kB / 272.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.007204, allocations: 7.953 kB / 272.2 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.007219, allocations: 4 kB / 272.2 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.007228, allocations: 4 kB / 272.2 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-06/0.007232, allocations: 3.984 kB / 272.2 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.007234, allocations: 0 / 272.2 MB, free: 2.121 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.887e-05/0.007283, allocations: 145.4 kB / 272.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007283, allocations: 3.938 kB / 272.4 MB, free: 1.977 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001157/0.007399, allocations: 8 kB / 272.4 MB, free: 1.969 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 8.792e-05/0.007487, allocations: 95.25 kB / 272.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.56e-05/0.007552, allocations: 28.06 kB / 272.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.007554, allocations: 0 / 272.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.007555, allocations: 0 / 272.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.00776, allocations: 42.41 kB / 272.5 MB, free: 1.793 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.007966, allocations: 159.4 kB / 272.7 MB, free: 1.609 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.008001, allocations: 67.33 kB / 272.8 MB, free: 1.523 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.379e-05/0.008015, allocations: 0 / 272.8 MB, free: 1.523 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.008065, allocations: 74.2 kB / 272.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008066, allocations: 0 / 272.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of Templates: time 0.00219/0.01026, allocations: 0.6768 MB / 273.5 MB, free: 0.7891 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.5856518018990755]