Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.00191/0.00191, allocations: 117 kB / 18.41 MB, free: 4.664 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.002255/0.002255, allocations: 190.9 kB / 21.34 MB, free: 1.734 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.514/1.514, allocations: 222.9 MB / 247.1 MB, free: 4.207 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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 52.06 kB / 358.7 MB, free: 8.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1241, allocations: 49.44 MB / 408.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002867/0.127, allocations: 0.8328 MB / 408.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004574/0.1275, allocations: 127.5 kB / 409.1 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.1276, allocations: 4 kB / 409.1 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.1278, allocations: 3.938 kB / 409.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1279, allocations: 7.922 kB / 409.1 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.1282, allocations: 39.91 kB / 409.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1283, allocations: 39.84 kB / 409.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1285, allocations: 27.98 kB / 409.2 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.059e-05/0.1285, allocations: 15.88 kB / 409.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1286, allocations: 23.86 kB / 409.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.1287, allocations: 4 kB / 409.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.1287, allocations: 4 kB / 409.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.1288, allocations: 19.97 kB / 409.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.1288, allocations: 23.75 kB / 409.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.129, allocations: 63.69 kB / 409.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.129, allocations: 0 / 409.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.132e-06/0.129, allocations: 4 kB / 409.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1291, allocations: 0 / 409.3 MB, free: 5.66 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.0006511/0.1297, allocations: 391 kB / 409.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1298, allocations: 12.03 kB / 409.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.1298, allocations: 12.89 kB / 409.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1301, allocations: 202.2 kB / 409.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1302, allocations: 4.375 kB / 409.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1302, allocations: 4.375 kB / 409.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.1306, allocations: 147.7 kB / 410.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1306, allocations: 4.125 kB / 410.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1307, allocations: 3.938 kB / 410.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1307, allocations: 0 / 410.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.333e-05/0.1308, allocations: 31.92 kB / 410.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.131, allocations: 177.6 kB / 410.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.1312, allocations: 74.73 kB / 410.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1313, allocations: 40.84 kB / 410.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.1314, allocations: 4 kB / 410.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.1314, allocations: 38.5 kB / 410.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.1314, allocations: 0 / 410.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000306/0.1317, allocations: 105.7 kB / 410.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.1318, allocations: 55.41 kB / 410.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.132, allocations: 143.7 kB / 410.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.132, allocations: 25.7 kB / 410.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.1321, allocations: 88.14 kB / 410.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.1321, allocations: 0 / 410.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.1322, allocations: 37.59 kB / 410.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1324, allocations: 322.8 kB / 411.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.1325, allocations: 11.92 kB / 411.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.43e-05/0.1325, allocations: 58.86 kB / 411.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1327, allocations: 74.75 kB / 411.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1327, allocations: 0 / 411.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000209/0.1329, allocations: 97.5 kB / 411.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.133, allocations: 7.938 kB / 411.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.133, allocations: 4 kB / 411.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.133, allocations: 0 / 411.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1331, allocations: 19.94 kB / 411.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1331, allocations: 0 / 411.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.748e-05/0.1332, allocations: 4 kB / 411.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1332, allocations: 12.23 kB / 411.5 MB, free: 3.215 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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.0001511/0.1334, allocations: 125.8 kB / 411.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.1335, allocations: 85.56 kB / 411.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.1336, allocations: 8.719 kB / 411.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1336, allocations: 4 kB / 411.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1336, allocations: 0 / 411.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1336, allocations: 0 / 411.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.1338, allocations: 173.8 kB / 411.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1338, allocations: 4 kB / 411.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.1339, allocations: 19.94 kB / 411.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.134, allocations: 7.938 kB / 411.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.134, allocations: 0 / 411.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.134, allocations: 4 kB / 411.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.134, allocations: 0 / 411.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1342, allocations: 116.9 kB / 412 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1343, allocations: 97.05 kB / 412.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1344, allocations: 3.938 kB / 412.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.078e-05/0.1344, allocations: 4 kB / 412.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.1344, allocations: 3.984 kB / 412.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1344, allocations: 7.938 kB / 412.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1346, allocations: 103.3 kB / 412.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1346, allocations: 0 / 412.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003375/0.1349, allocations: 12 kB / 412.3 MB, free: 2.344 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0001462/0.1351, allocations: 103.7 kB / 412.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1353, allocations: 55.86 kB / 412.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1353, allocations: 0 / 412.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.1353, allocations: 0 / 412.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.1358, allocations: 42.52 kB / 412.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.1362, allocations: 203 kB / 412.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.1367, allocations: 0.7128 MB / 413.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.1368, allocations: 11.44 kB / 413.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1368, allocations: 4 kB / 413.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of Templates: time 0.002931/0.1397, allocations: 0.8891 MB / 414.3 MB, free: 280 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 7.040945696062408]