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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 111.6 kB / 17.69 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 192 kB / 18.63 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 51.61 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1088, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00239/0.1113, allocations: 0.9452 MB / 352.4 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003469/0.1116, allocations: 111.6 kB / 352.6 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.1117, allocations: 3.938 kB / 352.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.605e-05/0.1118, allocations: 7.922 kB / 352.6 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.1119, allocations: 15.92 kB / 352.6 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.1121, allocations: 39.91 kB / 352.6 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.963e-05/0.1122, allocations: 35.86 kB / 352.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1123, allocations: 28.16 kB / 352.7 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.1124, allocations: 19.86 kB / 352.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.517e-05/0.1124, allocations: 11.94 kB / 352.7 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.1125, allocations: 4 kB / 352.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.1125, allocations: 4 kB / 352.7 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.1125, allocations: 19.92 kB / 352.7 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.1126, allocations: 31.73 kB / 352.8 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1127, allocations: 55.75 kB / 352.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1127, allocations: 0 / 352.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1128, allocations: 0 / 352.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1128, allocations: 4 kB / 352.8 MB, free: 2.371 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.0004196/0.1132, allocations: 375.1 kB / 353.2 MB, free: 1.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1132, allocations: 11.89 kB / 353.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.1133, allocations: 8.844 kB / 353.2 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1135, allocations: 200.1 kB / 353.4 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1135, allocations: 8.375 kB / 353.4 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.1136, allocations: 4.375 kB / 353.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.1138, allocations: 131.8 kB / 353.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.1138, allocations: 3.938 kB / 353.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1138, allocations: 4 kB / 353.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1139, allocations: 0 / 353.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.213e-05/0.1139, allocations: 12 kB / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.1141, allocations: 177.6 kB / 353.7 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.1142, allocations: 66.66 kB / 353.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.1143, allocations: 44.86 kB / 353.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1143, allocations: 8 kB / 353.9 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1143, allocations: 30.56 kB / 353.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1143, allocations: 0 / 353.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001843/0.1145, allocations: 89.47 kB / 354 MB, free: 1.047 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.1146, allocations: 63.31 kB / 354 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1147, allocations: 144.3 kB / 354.2 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1147, allocations: 25.7 kB / 354.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.1148, allocations: 84.14 kB / 354.3 MB, free: 0.707 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.1148, allocations: 11.94 kB / 354.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.1149, allocations: 21.72 kB / 354.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.115, allocations: 318.8 kB / 354.6 MB, free: 356 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.115, allocations: 8 kB / 354.6 MB, free: 348 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.1151, allocations: 62.73 kB / 354.7 MB, free: 260 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.317e-05/0.1152, allocations: 74.81 kB / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1152, allocations: 0 / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001307/0.1153, allocations: 93.39 kB / 354.9 MB, free: 60 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1153, allocations: 11.94 kB / 354.9 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1153, allocations: 0 / 354.9 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1154, allocations: 4 kB / 354.9 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.1154, allocations: 15.94 kB / 354.9 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.1155, allocations: 12.23 kB / 354.9 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.1155, allocations: 4 kB / 354.9 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1155, allocations: 4 kB / 354.9 MB, free: 8 kB / 286.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.922e-05/0.1156, allocations: 121.8 kB / 355 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1157, allocations: 81.61 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.1158, allocations: 12.72 kB / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1158, allocations: 0 / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1158, allocations: 0 / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1158, allocations: 3.984 kB / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.1159, allocations: 181.5 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1159, allocations: 0 / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.116, allocations: 15.98 kB / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.116, allocations: 3.938 kB / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.116, allocations: 0 / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.116, allocations: 0 / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.116, allocations: 0 / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.1162, allocations: 101 kB / 355.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.1162, allocations: 100.9 kB / 355.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1163, allocations: 4 kB / 355.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.75e-05/0.1163, allocations: 0 / 355.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-06/0.1163, allocations: 0 / 355.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1163, allocations: 4 kB / 355.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.256e-05/0.1164, allocations: 106.1 kB / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.136e-06/0.1164, allocations: 0 / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002038/0.1166, allocations: 15.94 kB / 355.7 MB, free: 15.17 MB / 302.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.0001202/0.1167, allocations: 99.72 kB / 355.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.1169, allocations: 47.92 kB / 355.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1169, allocations: 0 / 355.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1169, allocations: 0 / 355.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1172, allocations: 48.08 kB / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.1175, allocations: 165.6 kB / 356 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1178, allocations: 0.6929 MB / 356.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.668e-05/0.1178, allocations: 7.984 kB / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.1179, allocations: 11.44 kB / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1179, allocations: 0 / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Templates: time 0.002743/0.1206, allocations: 0.6169 MB / 357.3 MB, free: 13.43 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches