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.001926/0.001926, allocations: 81.31 kB / 21.25 MB, free: 0.5469 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.002358/0.002358, allocations: 158.1 kB / 24.5 MB, free: 3.719 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.472/1.472, allocations: 177.1 MB / 204.7 MB, free: 8.988 MB / 190.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.003266/0.003266, allocations: 61.95 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1418, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002889/0.1447, allocations: 0.8649 MB / 379.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004898/0.1452, allocations: 119.6 kB / 379.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1453, allocations: 3.938 kB / 379.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.1455, allocations: 3.938 kB / 379.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.1456, allocations: 15.92 kB / 379.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1459, allocations: 39.89 kB / 380 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.146, allocations: 35.86 kB / 380 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1462, allocations: 15.98 kB / 380 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.1462, allocations: 19.94 kB / 380 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.313e-05/0.1463, allocations: 27.83 kB / 380.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1463, allocations: 4 kB / 380.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.1463, allocations: 4 kB / 380.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.1464, allocations: 19.88 kB / 380.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.1464, allocations: 19.86 kB / 380.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.1466, allocations: 63.61 kB / 380.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1466, allocations: 0 / 380.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1466, allocations: 0 / 380.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1466, allocations: 0 / 380.2 MB, free: 14.24 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.0006116/0.1472, allocations: 302 kB / 380.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1473, allocations: 19.98 kB / 380.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.1473, allocations: 16.83 kB / 380.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1476, allocations: 142.3 kB / 380.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1476, allocations: 4.375 kB / 380.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1476, allocations: 4.375 kB / 380.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.148, allocations: 131.9 kB / 380.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.148, allocations: 4.188 kB / 380.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.148, allocations: 7.938 kB / 380.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.148, allocations: 4 kB / 380.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.1481, allocations: 27.91 kB / 380.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.1482, allocations: 121.2 kB / 380.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1484, allocations: 66.72 kB / 381 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/0.1485, allocations: 36.88 kB / 381 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1485, allocations: 4 kB / 381 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1485, allocations: 30.56 kB / 381.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.1485, allocations: 0 / 381.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002459/0.1488, allocations: 109.5 kB / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.1488, allocations: 59.41 kB / 381.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.149, allocations: 148.4 kB / 381.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.149, allocations: 25.7 kB / 381.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.1491, allocations: 88.14 kB / 381.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.1491, allocations: 4 kB / 381.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.1492, allocations: 25.7 kB / 381.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1493, allocations: 318.8 kB / 381.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.1494, allocations: 11.98 kB / 381.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.1494, allocations: 58.81 kB / 381.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1495, allocations: 78.73 kB / 382 MB, free: 12.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1495, allocations: 0 / 382 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001594/0.1497, allocations: 93.64 kB / 382.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1497, allocations: 11.98 kB / 382.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1497, allocations: 4 kB / 382.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.1497, allocations: 7.938 kB / 382.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.1498, allocations: 15.94 kB / 382.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1498, allocations: 0 / 382.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.524e-05/0.1499, allocations: 4 kB / 382.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1499, allocations: 4 kB / 382.1 MB, free: 12.07 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.00013/0.15, allocations: 130 kB / 382.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.1501, allocations: 89.67 kB / 382.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.1502, allocations: 24.7 kB / 382.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1502, allocations: 3.938 kB / 382.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1502, allocations: 0 / 382.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1502, allocations: 0 / 382.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1503, allocations: 113.2 kB / 382.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1503, allocations: 4 kB / 382.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.1504, allocations: 11.98 kB / 382.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.1504, allocations: 4 kB / 382.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1504, allocations: 4 kB / 382.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1504, allocations: 7.938 kB / 382.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1504, allocations: 0 / 382.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1506, allocations: 109 kB / 382.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.1506, allocations: 15.94 kB / 382.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1507, allocations: 4 kB / 382.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.632e-05/0.1507, allocations: 7.938 kB / 382.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-06/0.1507, allocations: 0 / 382.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1507, allocations: 192 / 382.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.697e-05/0.1508, allocations: 110.1 kB / 382.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1508, allocations: 7.938 kB / 382.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.151, allocations: 8 kB / 382.8 MB, free: 11.36 MB / 350.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.0001339/0.1511, allocations: 103.2 kB / 382.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1513, allocations: 48.33 kB / 382.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1513, allocations: 0 / 382.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-07/0.1513, allocations: 0 / 382.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1516, allocations: 52.2 kB / 382.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.152, allocations: 189 kB / 383.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.277e-05/0.1521, allocations: 83.81 kB / 383.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.82e-05/0.1521, allocations: 4.734 kB / 383.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.1522, allocations: 12.5 kB / 383.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1522, allocations: 0 / 383.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Templates: time 0.003767/0.1559, allocations: 0.7624 MB / 384 MB, free: 10.07 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/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.525463039986789]