Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002109/0.002109, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.625/1.625, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.84 kB / 374.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1096, allocations: 53.31 MB / 428.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002302/0.1119, allocations: 0.9525 MB / 429 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002999/0.1122, allocations: 107.7 kB / 429.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.1122, allocations: 4 kB / 429.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.1123, allocations: 11.88 kB / 429.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.574e-05/0.1124, allocations: 3.938 kB / 429.2 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.1126, allocations: 39.91 kB / 429.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.1127, allocations: 47.83 kB / 429.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.058e-05/0.1127, allocations: 12.19 kB / 429.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.1128, allocations: 19.92 kB / 429.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.1128, allocations: 15.86 kB / 429.3 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1128, allocations: 4 kB / 429.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.1128, allocations: 4 kB / 429.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.1129, allocations: 15.98 kB / 429.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.1129, allocations: 31.75 kB / 429.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.113, allocations: 55.67 kB / 429.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.113, allocations: 4 kB / 429.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1131, allocations: 0 / 429.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1131, allocations: 3.938 kB / 429.4 MB, free: 2.984 MB / 350.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.0004456/0.1135, allocations: 379 kB / 429.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1135, allocations: 12.03 kB / 429.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1136, allocations: 8.891 kB / 429.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1138, allocations: 204.2 kB / 430 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-06/0.1138, allocations: 384 / 430 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.1138, allocations: 8.375 kB / 430 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.1141, allocations: 127.8 kB / 430.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1141, allocations: 3.938 kB / 430.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1141, allocations: 4 kB / 430.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1141, allocations: 7.984 kB / 430.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.1142, allocations: 19.92 kB / 430.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.1143, allocations: 173.5 kB / 430.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1145, allocations: 62.66 kB / 430.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.1145, allocations: 36.89 kB / 430.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.1145, allocations: 4 kB / 430.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1146, allocations: 30.56 kB / 430.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1146, allocations: 0 / 430.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001864/0.1147, allocations: 93.56 kB / 430.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1148, allocations: 59.34 kB / 430.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1149, allocations: 136.5 kB / 430.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1149, allocations: 25.7 kB / 430.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.115, allocations: 92.14 kB / 430.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.115, allocations: 7.984 kB / 430.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.115, allocations: 21.72 kB / 430.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1152, allocations: 314.8 kB / 431.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.1152, allocations: 7.984 kB / 431.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.515e-05/0.1152, allocations: 59.34 kB / 431.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.544e-05/0.1153, allocations: 74.73 kB / 431.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1153, allocations: 0 / 431.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001264/0.1155, allocations: 89.45 kB / 431.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1155, allocations: 11.94 kB / 431.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1155, allocations: 0 / 431.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1155, allocations: 4 kB / 431.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.1156, allocations: 16.23 kB / 431.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1156, allocations: 11.98 kB / 431.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.1156, allocations: 12.14 kB / 431.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1156, allocations: 7.938 kB / 431.5 MB, free: 0.6289 MB / 350.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 9.12e-05/0.1157, allocations: 121.8 kB / 431.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.1158, allocations: 77.58 kB / 431.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.1158, allocations: 12.7 kB / 431.7 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1159, allocations: 0 / 431.7 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.1159, allocations: 4 kB / 431.7 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1159, allocations: 4 kB / 431.7 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.116, allocations: 169.6 kB / 431.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.116, allocations: 0 / 431.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.116, allocations: 19.92 kB / 431.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.116, allocations: 7.875 kB / 431.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.116, allocations: 4 kB / 431.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.116, allocations: 4 kB / 431.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.116, allocations: 0 / 431.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.1162, allocations: 97.08 kB / 432 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.1163, allocations: 101 kB / 432.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1163, allocations: 0 / 432.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.1163, allocations: 4 kB / 432.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.1163, allocations: 3.984 kB / 432.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1163, allocations: 4 kB / 432.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.602e-05/0.1164, allocations: 106.1 kB / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1164, allocations: 0 / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000193/0.1166, allocations: 4 kB / 432.2 MB, free: 15.8 MB / 366.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.0001085/0.1167, allocations: 107.2 kB / 432.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.1168, allocations: 39.92 kB / 432.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1168, allocations: 0 / 432.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1168, allocations: 0 / 432.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.1171, allocations: 47.92 kB / 432.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.1174, allocations: 195.2 kB / 432.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1177, allocations: 0.7007 MB / 433.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.1177, allocations: 11.44 kB / 433.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1177, allocations: 0 / 433.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of Templates: time 0.002149/0.1198, allocations: 0.8124 MB / 434.1 MB, free: 13.82 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.97626026099897]