Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001307/0.001307, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001405/0.001405, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.2 MB / 255.1 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 67.89 kB / 374.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1135, allocations: 53.32 MB / 427.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002433/0.1159, allocations: 0.96 MB / 428.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003597/0.1162, allocations: 115.6 kB / 428.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.649e-05/0.1163, allocations: 4 kB / 428.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.878e-05/0.1164, allocations: 3.938 kB / 428.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.1165, allocations: 11.86 kB / 428.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1168, allocations: 35.97 kB / 429 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1169, allocations: 43.84 kB / 429 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.117, allocations: 12.12 kB / 429 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.117, allocations: 19.92 kB / 429 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.1171, allocations: 23.86 kB / 429.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.1171, allocations: 8 kB / 429.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.1171, allocations: 0 / 429.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.1172, allocations: 23.86 kB / 429.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.1172, allocations: 23.81 kB / 429.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1173, allocations: 51.73 kB / 429.2 MB, free: 3.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1173, allocations: 0 / 429.2 MB, free: 3.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1173, allocations: 0 / 429.2 MB, free: 3.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1174, allocations: 0 / 429.2 MB, free: 3.188 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.0005379/0.1179, allocations: 387 kB / 429.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1179, allocations: 12.03 kB / 429.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.118, allocations: 8.891 kB / 429.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1182, allocations: 200.2 kB / 429.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1182, allocations: 384 / 429.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1182, allocations: 4.375 kB / 429.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.1185, allocations: 127.9 kB / 429.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1186, allocations: 7.938 kB / 429.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1186, allocations: 4 kB / 429.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1186, allocations: 3.938 kB / 429.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/0.1186, allocations: 19.92 kB / 429.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.1188, allocations: 173.5 kB / 430.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.119, allocations: 58.72 kB / 430.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.119, allocations: 40.89 kB / 430.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.119, allocations: 0 / 430.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.1191, allocations: 38.48 kB / 430.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1191, allocations: 0 / 430.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002065/0.1193, allocations: 89.73 kB / 430.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.1193, allocations: 63.39 kB / 430.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1195, allocations: 132 kB / 430.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1195, allocations: 29.7 kB / 430.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.1195, allocations: 88.14 kB / 430.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.1196, allocations: 3.984 kB / 430.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.1196, allocations: 21.72 kB / 430.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1197, allocations: 318.8 kB / 431 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.1198, allocations: 12 kB / 431 MB, free: 1.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.1198, allocations: 62.8 kB / 431 MB, free: 1.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.511e-05/0.1199, allocations: 70.75 kB / 431.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1199, allocations: 0 / 431.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001261/0.12, allocations: 89.52 kB / 431.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1201, allocations: 8.125 kB / 431.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1201, allocations: 4 kB / 431.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1201, allocations: 8.188 kB / 431.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.1202, allocations: 23.92 kB / 431.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1202, allocations: 0 / 431.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.1202, allocations: 7.953 kB / 431.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.1202, allocations: 4 kB / 431.3 MB, free: 0.8359 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 0.0001031/0.1203, allocations: 121.8 kB / 431.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1204, allocations: 81.83 kB / 431.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.1205, allocations: 12.7 kB / 431.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1205, allocations: 4 kB / 431.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1205, allocations: 4 kB / 431.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1205, allocations: 0 / 431.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.1206, allocations: 173.6 kB / 431.6 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1206, allocations: 3.984 kB / 431.6 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.1207, allocations: 15.94 kB / 431.7 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1207, allocations: 3.938 kB / 431.7 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1207, allocations: 0 / 431.7 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1207, allocations: 4 kB / 431.7 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1207, allocations: 0 / 431.7 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.1208, allocations: 105 kB / 431.8 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.1209, allocations: 96.98 kB / 431.9 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.1209, allocations: 3.984 kB / 431.9 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.766e-05/0.1209, allocations: 0 / 431.9 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-06/0.1209, allocations: 4 kB / 431.9 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1209, allocations: 0 / 431.9 MB, free: 112 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.549e-05/0.121, allocations: 105.1 kB / 432 MB, free: 8 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.121, allocations: 0 / 432 MB, free: 8 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.1212, allocations: 12.05 kB / 432 MB, free: 15.99 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.0001409/0.1214, allocations: 99.25 kB / 432.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.1215, allocations: 47.8 kB / 432.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1215, allocations: 0 / 432.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.1215, allocations: 0 / 432.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.1218, allocations: 36 kB / 432.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.1221, allocations: 199.7 kB / 432.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.1225, allocations: 0.6963 MB / 433.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.1225, allocations: 11.44 kB / 433.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1225, allocations: 0 / 433.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of Templates: time 0.002805/0.1253, allocations: 0.8108 MB / 433.9 MB, free: 14.04 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.958979624090716]