Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.002257/0.002257, allocations: 120 kB / 18.5 MB, free: 4.52 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.002914/0.002914, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.662/1.662, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 63.89 kB / 373.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1426, allocations: 53.31 MB / 427.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.00361/0.1462, allocations: 0.8548 MB / 428 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005003/0.1467, allocations: 115.7 kB / 428.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1468, allocations: 7.938 kB / 428.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.147, allocations: 11.86 kB / 428.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1471, allocations: 3.938 kB / 428.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.1474, allocations: 47.83 kB / 428.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1476, allocations: 35.92 kB / 428.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.1477, allocations: 19.98 kB / 428.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.1478, allocations: 19.92 kB / 428.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1479, allocations: 23.86 kB / 428.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.1479, allocations: 4 kB / 428.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.778e-05/0.148, allocations: 4 kB / 428.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.148, allocations: 23.91 kB / 428.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.1481, allocations: 27.81 kB / 428.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.1483, allocations: 63.61 kB / 428.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1483, allocations: 0 / 428.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1483, allocations: 0 / 428.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1483, allocations: 0 / 428.4 MB, free: 3.223 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.0008614/0.1492, allocations: 391 kB / 428.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.1493, allocations: 8.031 kB / 428.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.1493, allocations: 12.84 kB / 428.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.1497, allocations: 190.5 kB / 429 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1497, allocations: 4.375 kB / 429 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1497, allocations: 4.375 kB / 429 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.1501, allocations: 147.7 kB / 429.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1501, allocations: 192 / 429.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1501, allocations: 3.938 kB / 429.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1501, allocations: 4 kB / 429.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.1502, allocations: 23.98 kB / 429.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.1505, allocations: 169.6 kB / 429.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.1507, allocations: 78.64 kB / 429.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.1508, allocations: 36.88 kB / 429.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.1508, allocations: 4 kB / 429.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1508, allocations: 34.56 kB / 429.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.1508, allocations: 0 / 429.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003218/0.1511, allocations: 105.9 kB / 429.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/0.1512, allocations: 63.47 kB / 429.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1514, allocations: 137.8 kB / 429.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.1514, allocations: 29.7 kB / 429.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.1515, allocations: 88.12 kB / 429.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.1515, allocations: 7.953 kB / 429.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.1516, allocations: 25.7 kB / 429.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.1518, allocations: 318.8 kB / 430.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.173e-05/0.1519, allocations: 11.98 kB / 430.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.1519, allocations: 62.75 kB / 430.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1521, allocations: 74.8 kB / 430.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1521, allocations: 0 / 430.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000185/0.1522, allocations: 93.45 kB / 430.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1523, allocations: 10.38 kB / 430.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1523, allocations: 8 kB / 430.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.1523, allocations: 7.984 kB / 430.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.1524, allocations: 15.94 kB / 430.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1524, allocations: 0 / 430.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.1524, allocations: 4 kB / 430.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1525, allocations: 15.92 kB / 430.5 MB, free: 0.8008 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: 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.000159/0.1526, allocations: 121.8 kB / 430.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.1528, allocations: 93.52 kB / 430.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.1528, allocations: 16.7 kB / 430.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1528, allocations: 4 kB / 430.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1528, allocations: 0 / 430.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1528, allocations: 0 / 430.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.153, allocations: 169.6 kB / 430.9 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.153, allocations: 4 kB / 430.9 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.1531, allocations: 11.98 kB / 431 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.1531, allocations: 7.938 kB / 431 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1531, allocations: 0 / 431 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1531, allocations: 0 / 431 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1531, allocations: 0 / 431 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.1533, allocations: 117 kB / 431.1 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.1534, allocations: 101 kB / 431.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1534, allocations: 3.938 kB / 431.2 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.747e-05/0.1534, allocations: 4 kB / 431.2 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-06/0.1534, allocations: 0 / 431.2 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1534, allocations: 4 kB / 431.2 MB, free: 52 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1536, allocations: 107.2 kB / 431.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1536, allocations: 4 kB / 431.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1538, allocations: 8 kB / 431.3 MB, free: 15.93 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: 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.0001487/0.1539, allocations: 99.25 kB / 431.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1541, allocations: 47.91 kB / 431.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1541, allocations: 0 / 431.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1541, allocations: 0.5 kB / 431.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.1545, allocations: 56.06 kB / 431.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.1549, allocations: 180.2 kB / 431.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.1553, allocations: 0.6963 MB / 432.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.611e-05/0.1554, allocations: 8.656 kB / 432.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.1554, allocations: 11.44 kB / 432.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1554, allocations: 3.938 kB / 432.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Templates: time 0.004391/0.1598, allocations: 0.6981 MB / 433.1 MB, free: 14.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.864566123113036]