Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001647/0.001647, allocations: 78.88 kB / 21.24 MB, free: 0.543 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.002175/0.002175, allocations: 161.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.468/1.468, allocations: 177.1 MB / 204.7 MB, free: 8.953 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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 65.3 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1302, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002413/0.1326, allocations: 0.8845 MB / 379.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003549/0.1329, allocations: 115.6 kB / 379.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.133, allocations: 4 kB / 379.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.097e-05/0.1331, allocations: 7.875 kB / 379.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1332, allocations: 3.938 kB / 379.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1335, allocations: 43.89 kB / 380 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1336, allocations: 39.91 kB / 380 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1337, allocations: 15.92 kB / 380 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.1337, allocations: 23.86 kB / 380 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.1338, allocations: 15.92 kB / 380 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1338, allocations: 4 kB / 380 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.1338, allocations: 7.938 kB / 380.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.1339, allocations: 11.98 kB / 380.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.1339, allocations: 15.88 kB / 380.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.134, allocations: 59.67 kB / 380.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.134, allocations: 0 / 380.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.134, allocations: 0 / 380.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1341, allocations: 0 / 380.1 MB, free: 14.23 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.0004596/0.1345, allocations: 290.1 kB / 380.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1346, allocations: 15.98 kB / 380.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.1346, allocations: 8.891 kB / 380.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.1349, allocations: 142.2 kB / 380.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1349, allocations: 4.375 kB / 380.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.1349, allocations: 4.375 kB / 380.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.1352, allocations: 131.8 kB / 380.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1352, allocations: 4.188 kB / 380.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1352, allocations: 3.938 kB / 380.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1352, allocations: 0 / 380.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.1353, allocations: 19.94 kB / 380.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.1354, allocations: 125.2 kB / 380.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.1356, allocations: 54.72 kB / 380.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.1356, allocations: 36.89 kB / 381 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-06/0.1356, allocations: 0 / 381 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1357, allocations: 34.56 kB / 381 MB, free: 13.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1357, allocations: 3.938 kB / 381 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002146/0.1359, allocations: 89.58 kB / 381.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.136, allocations: 59.41 kB / 381.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1361, allocations: 129.8 kB / 381.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1361, allocations: 33.64 kB / 381.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.1362, allocations: 88.12 kB / 381.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.1362, allocations: 7.953 kB / 381.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.1362, allocations: 21.72 kB / 381.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1364, allocations: 322.8 kB / 381.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.1364, allocations: 8 kB / 381.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-05/0.1364, allocations: 62.8 kB / 381.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.757e-05/0.1365, allocations: 70.75 kB / 381.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1365, allocations: 4 kB / 381.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000131/0.1367, allocations: 89.59 kB / 382 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1367, allocations: 4 kB / 382 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1367, allocations: 4 kB / 382 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1367, allocations: 3.938 kB / 382 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.384e-05/0.1367, allocations: 15.94 kB / 382 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1367, allocations: 4 kB / 382 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/0.1368, allocations: 0 / 382 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1368, allocations: 4 kB / 382 MB, free: 12.14 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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.0001136/0.1369, allocations: 132.6 kB / 382.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.137, allocations: 81.56 kB / 382.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.137, allocations: 8.438 kB / 382.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.137, allocations: 3.938 kB / 382.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.137, allocations: 4 kB / 382.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.137, allocations: 0 / 382.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.546e-05/0.1371, allocations: 113.3 kB / 382.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1371, allocations: 0 / 382.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-06/0.1371, allocations: 0 / 382.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1372, allocations: 3.984 kB / 382.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1372, allocations: 0 / 382.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1372, allocations: 4 kB / 382.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1372, allocations: 7.938 kB / 382.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.1373, allocations: 101 kB / 382.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.1373, allocations: 15.88 kB / 382.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1374, allocations: 4 kB / 382.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/0.1374, allocations: 4 kB / 382.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-06/0.1374, allocations: 3.938 kB / 382.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1374, allocations: 192 / 382.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.202e-05/0.1375, allocations: 107.2 kB / 382.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1375, allocations: 3.938 kB / 382.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.1377, allocations: 4 kB / 382.6 MB, free: 11.49 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,xor.u1,xor.u2,xor.y,integerConstant.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.000112/0.1378, allocations: 107.2 kB / 382.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1379, allocations: 48.33 kB / 382.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1379, allocations: 0 / 382.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.1379, allocations: 0 / 382.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1382, allocations: 39.62 kB / 382.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.1385, allocations: 169.8 kB / 382.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.56e-05/0.1386, allocations: 83.81 kB / 383 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.58e-05/0.1386, allocations: 0 / 383 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.1387, allocations: 12.5 kB / 383 MB, free: 10.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1387, allocations: 0 / 383 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Templates: time 0.003199/0.1419, allocations: 0.6869 MB / 383.7 MB, free: 10.31 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.282865887973458]