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.001699/0.0017, allocations: 116.9 kB / 18.4 MB, free: 4.648 MB / 14.72 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.001754/0.001754, allocations: 190.9 kB / 21.35 MB, free: 1.711 MB / 14.72 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.46/1.46, allocations: 222.9 MB / 247 MB, free: 4.32 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001628/0.001628, allocations: 51.91 kB / 358.7 MB, free: 8.422 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1292, allocations: 49.43 MB / 408.1 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002664/0.1319, allocations: 0.9575 MB / 409.1 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003984/0.1324, allocations: 115.6 kB / 409.2 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.434e-05/0.1325, allocations: 3.938 kB / 409.2 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.609e-05/0.1325, allocations: 3.938 kB / 409.2 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1327, allocations: 7.938 kB / 409.2 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.133, allocations: 43.83 kB / 409.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.1331, allocations: 35.92 kB / 409.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1332, allocations: 28.17 kB / 409.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.1333, allocations: 15.92 kB / 409.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.1333, allocations: 23.84 kB / 409.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1334, allocations: 4 kB / 409.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.1334, allocations: 4 kB / 409.3 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.1334, allocations: 11.94 kB / 409.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.1335, allocations: 27.8 kB / 409.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1337, allocations: 59.61 kB / 409.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.1337, allocations: 0 / 409.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1337, allocations: 0 / 409.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1337, allocations: 4 kB / 409.4 MB, free: 5.605 MB / 334.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.0005669/0.1343, allocations: 385 kB / 409.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1343, allocations: 8.031 kB / 409.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.1344, allocations: 8.891 kB / 409.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1347, allocations: 192.3 kB / 410 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1347, allocations: 4.375 kB / 410 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.1347, allocations: 4.375 kB / 410 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.135, allocations: 135.8 kB / 410.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.135, allocations: 3.938 kB / 410.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.135, allocations: 0 / 410.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.135, allocations: 0 / 410.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.079e-05/0.1351, allocations: 15.98 kB / 410.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.1353, allocations: 169.6 kB / 410.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1355, allocations: 74.66 kB / 410.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.747e-05/0.1356, allocations: 32.89 kB / 410.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1356, allocations: 4 kB / 410.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.1357, allocations: 38.56 kB / 410.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1357, allocations: 3.938 kB / 410.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002248/0.1359, allocations: 93.66 kB / 410.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.136, allocations: 59.41 kB / 410.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.1361, allocations: 139.8 kB / 410.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1362, allocations: 25.7 kB / 410.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.1362, allocations: 88.14 kB / 410.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.1362, allocations: 11.95 kB / 410.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.1363, allocations: 21.7 kB / 410.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1365, allocations: 318.8 kB / 411.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.1365, allocations: 7.984 kB / 411.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.1366, allocations: 58.88 kB / 411.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1367, allocations: 82.67 kB / 411.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1367, allocations: 0 / 411.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001388/0.1368, allocations: 89.61 kB / 411.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1369, allocations: 11.94 kB / 411.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1369, allocations: 0 / 411.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1369, allocations: 4 kB / 411.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.137, allocations: 19.98 kB / 411.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.137, allocations: 8.25 kB / 411.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.137, allocations: 0 / 411.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1371, allocations: 4 kB / 411.5 MB, free: 3.254 MB / 334.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.0001148/0.1372, allocations: 117.8 kB / 411.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1373, allocations: 81.66 kB / 411.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.1373, allocations: 16.72 kB / 411.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1374, allocations: 0 / 411.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1374, allocations: 3.984 kB / 411.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1374, allocations: 0 / 411.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.1375, allocations: 177.5 kB / 411.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1376, allocations: 3.938 kB / 411.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.1376, allocations: 19.97 kB / 411.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1376, allocations: 3.938 kB / 411.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1376, allocations: 0 / 411.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1376, allocations: 0 / 411.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1377, allocations: 4 kB / 411.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.1378, allocations: 101.1 kB / 412 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.401e-05/0.1379, allocations: 96.98 kB / 412.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1379, allocations: 4.188 kB / 412.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.697e-05/0.1379, allocations: 0 / 412.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-06/0.138, allocations: 3.938 kB / 412.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.138, allocations: 4 kB / 412.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.823e-05/0.1381, allocations: 109.1 kB / 412.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1381, allocations: 3.938 kB / 412.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000205/0.1383, allocations: 8 kB / 412.3 MB, free: 2.406 MB / 334.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.000138/0.1384, allocations: 103.7 kB / 412.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.1386, allocations: 43.92 kB / 412.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1386, allocations: 0 / 412.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.1386, allocations: 0.5 kB / 412.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.1389, allocations: 47.89 kB / 412.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.1393, allocations: 195 kB / 412.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1396, allocations: 0.7008 MB / 413.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.1397, allocations: 7.438 kB / 413.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1397, allocations: 4 kB / 413.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of Templates: time 0.002467/0.1421, allocations: 0.8078 MB / 414.2 MB, free: 448 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.998684403020889]